Past participle of “to be” becomes “was” instead of “been”
Author: Willem3141Created Sep 20, 2026Updated Sep 26, 2026
Labelsbugnext-releasefixed-on-dev
I ran into this:
let doc = nlp('I am')
doc.verbs().toPastParticiple()
console.log(doc.text()) // prints 'I have was'; I would have expected 'I have been'(this is with 14.17.0)
I'm unsure why this happens, as it seems that compromise should know about the irregular participle. Other verbs with a custom Particle (such as “arise”) work fine.
(I've tried to search for duplicate issues, but searching for terms like "be" and "been" wasn't easy, so I may have missed something )
Source: spencermountain/compromise