Salam,
I want to handle numeric words inflection for Arabic language,
I can express this rule by postags:
(PR)(NN[^U])*(NNU)(NN[^U])*
Where:
- PR is a preposition
- NN[^U]) a tag for numeric word, with case inflection different to “U” accusative case.
- NNU a tag for numeric word, with case inflection equal to “U”: nominative case
In other word:
After a preposition, a sequence of numeric words must be in accusative case.
if one word is in nominative case, it match the pattern.
The numeric phrase can have a length from 1 to 12 words for example.
Thanks