From c25053924901cff01fdf5c76cc328c84d9323eb1 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Tue, 31 May 2022 19:18:25 -0500 Subject: [PATCH] cleanup --- package.json | 2 +- src/lib/phrase-building/compile.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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, {