alpheios-project / morph-client

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

aggregate noun/adj inflections from buckwalter (aramorph) engine results #11

Closed balmas closed 6 years ago

balmas commented 6 years ago

@abrasax requests that we aggregate the noun and adjective inflection data returned by aramorph.

Noun Inflections with these values in the morph field:

NOUNa NOUNu NOUNN NOUNK NOUNi

and Adjective inflections with these values in the morph field;

ADJa ADJu ADJN ADJK ADJi

(sample queries: https://morph.alpheios.net/api/v1/analysis/word?word=%D8%A7%D9%84%D8%B5%D8%BA%D9%8A%D8%B1&engine=aramorph&lang=ara https://morph.alpheios.net/api/v1/analysis/word?word=bAb&engine=aramorph&lang=ara )

should be aggregated into a single inflection. It's unclear how to represent the aggregated suffix and example fields though. Perhaps these would be aggregated (and deduped of duplicate info).

The same should apply to adjectives as well

balmas commented 6 years ago

I think this actually belongs on the ArabicLanguageModel object so closing here and reopeining there.