Recognizers-Text icon indicating copy to clipboard operation
Recognizers-Text copied to clipboard

[* Duration] Extract duration units when preceded by ordinal numbers

Open aitelint opened this issue 5 years ago • 3 comments

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)

aitelint avatar Dec 22 '20 07:12 aitelint

@LionbridgeCSII, can you take a stab at this and see if there may be any side-effects?

tellarin avatar Dec 29 '20 06:12 tellarin

@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.

aitelint avatar Dec 29 '20 06:12 aitelint

Please raise a flag if this becomes too unwieldy.

tellarin avatar Dec 29 '20 06:12 tellarin