compromise icon indicating copy to clipboard operation
compromise copied to clipboard

Smarter Gerund-noun support

Open SankarshanDudhate opened this issue 5 years ago • 2 comments

Hi there... I remember there was once an issue about gerunds not being tagged as nouns - #314 . Now, they're sometimes falsely tagged as nouns.

Screenshot (177)

As far as I have noticed, if gerunds are followed by either a Copula or modal, they're tagged as nouns. There might be other patterns too. I'll add them later if I find any.

SankarshanDudhate avatar Jan 05 '20 16:01 SankarshanDudhate

ah, thanks. Good find.

spencermountain avatar Jan 05 '20 16:01 spencermountain

this one is still sort of melting my head. I think it's the what - that transforms the verb into a noun:

nlp(`what companies are doing is`).debug()
nlp(`what companies do is`).debug()

gonna sit on this one a bit. Any help is welcome

spencermountain avatar Jun 10 '20 18:06 spencermountain