alpheios-project / morph-client

Morphology Client Library Interface
ISC License
0 stars 1 forks source link

support Inflections without a stem #8

Closed balmas closed 6 years ago

balmas commented 6 years ago

the whitaker engine response for the latin word est includes an inflection with a suffix and no stem. This causes an exception because of the following code in AlpheiosTuftsAdapter:

let inflection = new Models.Inflection(inflectionJSON.term.stem.$, mappingData.model.languageID)

We need to handle this scenario.