diff --git a/package.json b/package.json index ebcf7ea..f6c5b8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "2.7.1", + "version": "2.7.2", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/lib/phrase-building/compile.ts b/src/lib/phrase-building/compile.ts index 7cbdb0f..b58f67c 100644 --- a/src/lib/phrase-building/compile.ts +++ b/src/lib/phrase-building/compile.ts @@ -379,7 +379,6 @@ function addSpacesBetweenSegments(segments: Segment[]): (Segment | " " | "" | T. } function compileEnglishVP(VP: T.VPRendered): string[] | undefined { - console.log("will compile english VP"); function insertEWords(e: string, { subject, object, APs }: { subject: string, object?: string, APs: string }): string { return e.replace("$SUBJ", subject).replace("$OBJ", object || "") + APs; } @@ -391,7 +390,6 @@ function compileEnglishVP(VP: T.VPRendered): string[] | undefined { ? "" : undefined; const engAPs = getEnglishAPs(VP.blocks); - console.log({ base: VP.englishBase, obj, engSubj, engObj }) // require all English parts for making the English phrase return (VP.englishBase && engSubj && engObj !== undefined) ? VP.englishBase.map(e => insertEWords(e, {