Recognizers-Text
Recognizers-Text copied to clipboard
[* Duration] Extract duration units when preceded by ordinal numbers
Duration units like "week", "month", "year"... should be recognized as duration entities when preceded by ordinal numbers. For example: "the first week is dedicated to exercises" --> "week" (duration)
@LionbridgeCSII, can you take a stab at this and see if there may be any side-effects?
@tellarin, yes there are some interferences with DatePeriod and now some patterns are not correctly handled in certain languages. I am working on fixing these issues.
Please raise a flag if this becomes too unwieldy.