Skip to content

Commit 0efb0c1

Browse files
committed
reword
1 parent 77f5c49 commit 0efb0c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dictionary/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ const compoundAdjectiveDefinition = checkedSequence(
413413
.map((adjectives) => ({ type: "compound adjective", adjectives }))
414414
.filterWithPositionedError(({ adjectives }) =>
415415
adjectives.every((adjective) => adjective.adverbs.length === 0) ||
416-
throwError("compound adjective cannot have adverb")
416+
throwError("compound adjective cannot have adverbs")
417417
);
418418
const verbDefinition = checkedSequence(
419419
sequence(

src/parser/filter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ export const NANPA_RULES: ReadonlyArray<(nanpa: Nanpa) => boolean> = [
3333
type !== "x ala x" ||
3434
throwError(new UnrecognizedError('"nanpa ala nanpa"')),
3535

36-
// nanpa construction cannot contain preposition
36+
// nanpa construction cannot contain prepositions
3737
({ phrase: { type } }) =>
3838
type !== "preposition" ||
3939
throwError(new UnrecognizedError("preposition inside nanpa")),
4040

41-
// nanpa construction cannot contain preverb
41+
// nanpa construction cannot contain preverbs
4242
({ phrase: { type } }) =>
4343
type !== "preverb" ||
4444
throwError(new UnrecognizedError("preverb inside nanpa")),
@@ -59,7 +59,7 @@ export const NANPA_RULES: ReadonlyArray<(nanpa: Nanpa) => boolean> = [
5959
({ phrase: { emphasis } }) => emphasis == null,
6060
];
6161
export const MODIFIER_RULES: ReadonlyArray<(modifier: Modifier) => boolean> = [
62-
// pi cannot contain preposition
62+
// pi cannot contain prepositions
6363
(modifier) =>
6464
modifier.type !== "pi" || modifier.phrase.type !== "preposition" ||
6565
throwError(new UnrecognizedError("preposition inside pi")),

0 commit comments

Comments
 (0)