Is there any tool that gives separate root word and affixes form a given word input?

1k Views Asked by At

I am searching for a tool that gives me output as follows for the input word 'unstoppable'.

prefix: un suffix: able root: stop

2

There are 2 best solutions below

3
gnetmil On

I think what you're looking for is an morphological analyzer that returns "morphemes" of the given word. I'm not sure about the state-of-the-art but Morfessor FlatCat should work.

The result is like straightforwardness -> straight/STM + forward/STM + ness/SUF.

0
Roman Kishchenko On

Check out Lingua Robot. It's a REST API that returns a bunch of useful information for English words including morphemes. Looks like it returns what you want for unstoppable:

 "morphemes": [
  {
    "entry": "un-",
    "type": "prefix"
  },
  {
    "entry": "stop",
    "type": "root"
  },
  {
    "entry": "-able",
    "type": "suffix"
  }
]