We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9df3a8a commit d98e109Copy full SHA for d98e109
src/translator/fixer.ts
@@ -15,9 +15,9 @@ function rankNoun(noun: English.NounPhrase): number {
15
function fixNounPhrase(noun: English.NounPhrase): English.NounPhrase {
16
switch (noun.type) {
17
case "simple":
18
- // if (noun.postAdjective != null && noun.prepositions.length > 0) {
19
- // throw new FilteredError("named noun with preposition");
20
- // }
+ if (noun.postAdjective != null && noun.prepositions.length > 0) {
+ throw new FilteredError("named noun with preposition");
+ }
21
if (
22
noun.postCompound != null && noun.postCompound.type === "simple" &&
23
noun.postCompound.prepositions.length > 0
0 commit comments