We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29cc053 commit 6e495c2Copy full SHA for 6e495c2
src/translator/nanpa.ts
@@ -16,13 +16,13 @@ export function nanpa(
16
.map((phrase) => {
17
if (phrase.type !== "noun") {
18
throw new FilteredError(
19
- `${phrase.type} within "in position" phrase`,
+ `${phrase.type} within "position X" phrase`,
20
);
21
} else if (
22
(phrase.noun as English.NounPhrase & { type: "simple" })
23
.preposition.length > 0
24
) {
25
- throw new FilteredError('preposition within "in position" phrase');
+ throw new FilteredError('preposition within "position X" phrase');
26
} else {
27
return {
28
type: "simple",
0 commit comments