Compromise: Support for Past Participle in conjugation

Created on 26 Mar 2020  路  4Comments  路  Source: spencermountain/compromise

Runnign this code:

nlp('I am being driven to madness.').verbs().conjugate()[0]

Gives this result:

{
  PresentTense: "being drivens"
  PastTense: "being drivened"
  Gerund: "being drivening"
  Infinitive: "being driven"
  FutureTense: "will being driven"
}
bug priority

All 4 comments

i am too

hey Doug, was hoping to get this fix in 13.3.0 but am still working on a good solution.
it's a good issue with verb conjugation rn.
cheers

@spencermountain Thanks for your great work. I'll keep an eye out for it.

keeping this here - there are some real doozies in there:

let doc = nlp('i am being driven')
let doc = nlp('i should be driven')
let doc = nlp('i should drive')
let doc = nlp('i should have been driven')
doc.sentences().toPastTense().debug()
doc.sentences().toFutureTense().debug()

ouch

Was this page helpful?
0 / 5 - 0 ratings