aitelint
aitelint
Fix to issue #2709 for the pattern [weekday] [calendar day] in English. Added methods ValidateWeekdayPrefix and TruncateInconsistentDates in DateExtractor to identify and split cases where the weekday does not agree...
Spring Festival (Chinese New Year) in Chinese ("春节") and Japanese ("春节", "旧暦の正月初一") is wrongly resolved to "XXXX-01-01" The date of the holiday should be calculate according to the lunisolar calendar.
In certain cases, SetExtractor wrongly considers parts of the input as belonging to the extracted entities. For example: - "it is the same every year" returns "same every year" instead...
Currently, modifiers like "before", "around", "after"... are correctly handled only if they appear at the beginning/end of the extraction, e.g. "**before** 2pm", but are ignored when they appear within the...
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)
- In .NET in MergedDateTime, when a modifer is found the entity type is always modified to its corresponding range-type independently of the modifier (so for example "around 1pm", the...
When dealing with negative lookbehinds, the method getMatches in RegExpUtility first looks for matches of the negative lookbehind group and if found, it searches for matches of the following regex...