Skip to content

Commit e2bb5c8

Browse files
committed
more filter
1 parent bdbc7f6 commit e2bb5c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/translator.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,10 @@ function defaultPhrase(
682682
object,
683683
})),
684684
];
685-
if (preposition.length > 1) {
685+
if (
686+
preposition.length > 1 ||
687+
(preposition.length > 0 && postAdjective != null)
688+
) {
686689
return new Output();
687690
}
688691
const headNoun = nounForms(headWord.singular, headWord.plural, number)

0 commit comments

Comments
 (0)