Get verb "base", singular non-possessive word, using OpenNLP

77 Views Asked by At

I'm considering using the C# implementation of OpenNLP in my project.

There are two main things I'd like to do.

  1. Get the "base" form of a verb.

For example:

Input                                          Verb(s)           Desired Verb Base(s)
They were caught running away from the scene   caught, running   catch, run
The incident occurred last night               occurred          occur
We are planning some new features              planning          plan
  1. Getting the singular, non-possessive, etc. form of a word.

For example:

Input      Desired output
cars       car
vehicle's  vehicle
knives     knife
feet       foot

Are these possible using OpenNLP, or is there another way to do this? (This is for English only).

0

There are 0 best solutions below