Skip to content

Commit 85f1248

Browse files
committed
remove emphasis on compound adjective
1 parent 8c4cee4 commit 85f1248

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/translator2/ast.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export type AdjectivePhrase =
4444
type: "compound";
4545
conjunction: string;
4646
adjectives: ReadonlyArray<AdjectivePhrase>;
47-
emphasis: boolean;
4847
}>;
4948
export type Complement =
5049
| Readonly<{ type: "noun"; noun: NounPhrase }>

src/translator2/phrase.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function adjectivePhrase(
105105
case "compound":
106106
if (modifier.adverbs.length === 0) {
107107
return {
108-
adjective: { ...adjective, emphasis: adjective.emphasis || emphasis },
108+
adjective: { ...adjective },
109109
inWayPhrase: modifier.inWayPhrase,
110110
};
111111
} else {
@@ -415,7 +415,6 @@ export function multiplePhrases(
415415
type: "compound",
416416
conjunction,
417417
adjectives: phrase.map(({ adjective }) => adjective),
418-
emphasis: false,
419418
},
420419
inWayPhrase: null,
421420
};

0 commit comments

Comments
 (0)