From be4f52b481b26053b9184292fe755a76494014a9 Mon Sep 17 00:00:00 2001 From: dualfroz Date: Wed, 23 Sep 2026 12:33:23 +0200 Subject: [PATCH] Give 'be' its past participle so toPastParticiple returns 'been' --- src/2-two/preTagger/methods/transform/verbs/conjugate/index.js | 1 + tests/three/verbs/toPastParticiple.test.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/2-two/preTagger/methods/transform/verbs/conjugate/index.js b/src/2-two/preTagger/methods/transform/verbs/conjugate/index.js index 7a265fc..02217b0 100644 --- a/src/2-two/preTagger/methods/transform/verbs/conjugate/index.js +++ b/src/2-two/preTagger/methods/transform/verbs/conjugate/index.js @@ -20,6 +20,7 @@ const conjugate = function (inf, model) { Gerund: 'being', PastTense: 'was', PresentTense: 'is', + Participle: 'been', } } const [str, particle] = parse(inf) diff --git a/tests/three/verbs/toPastParticiple.test.js b/tests/three/verbs/toPastParticiple.test.js index bb7e1dc..1467956 100644 --- a/tests/three/verbs/toPastParticiple.test.js +++ b/tests/three/verbs/toPastParticiple.test.js @@ -5,6 +5,9 @@ const here = '[three/verb-toPastParticiple] ' test('toPastParticiple:', function (t) { const arr = [ [`I eat breakfast every morning.`, `I have eaten breakfast every morning.`], + [`I am`, `I have been`], + [`She is happy.`, `She has been happy.`], + [`They are here.`, `They have been here.`], [`She reads a book before bed.`, `She has read a book before bed.`], [`He teaches math to high school students.`, `He has taught math to high school students.`], [`They walk their dog in the park.`, `They have walked their dog in the park.`],