Skip to content

Commit ed7ad4d

Browse files
committed
remove unneeded filter
1 parent 59d7cfd commit ed7ad4d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/parser/filter.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -323,15 +323,6 @@ export const SENTENCE_RULES: ReadonlyArray<(sentence: Sentence) => boolean> = [
323323
}
324324
return true;
325325
},
326-
// if there is "la", there can't be starting particle e.g. taso
327-
(sentence) =>
328-
sentence.type !== "simple" || sentence.contextClauses.length === 0 ||
329-
sentence.startingParticle == null || throwError(
330-
new UnrecognizedError(
331-
`${sentence.startingParticle.word} particle with "la"`,
332-
),
333-
),
334-
335326
// there can't be more than 1 "x ala x" or "seme"
336327
(sentence) => {
337328
if (sentence.interrogative != null) {

0 commit comments

Comments
 (0)