You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In standard English implementation, the modifiers "after" and "since" convert the "value" key to "start" and the modifiers "before" and "until" convert the "value" key to "end".
In Chinese implementation, only the modifiers "after" and "before" modify the "value" key while "since" and "until" keep it unchanged.
To Reproduce
For example, the input "在2012年1月7日或之前" (On or before January 7) in Chinese is resolved to
{
"timex": "2012-01-07",
"Mod": "until",
"type": "daterange",
"sourceEntity": "datetimepoint",
"value": "2012-01-07"
}
while in English is resolved to
{
"timex": "2012-01-07",
"Mod": "until",
"type": "daterange",
"sourceEntity": "datetimepoint",
"end": "2012-01-07"
}
Expected behavior
The Chinese implementation should behave as the English one and modify the "value" key also with modifiers "since" and "until".
The text was updated successfully, but these errors were encountered:
Describe the bug
To Reproduce
For example, the input "在2012年1月7日或之前" (On or before January 7) in Chinese is resolved to
{
"timex": "2012-01-07",
"Mod": "until",
"type": "daterange",
"sourceEntity": "datetimepoint",
"value": "2012-01-07"
}
while in English is resolved to
{
"timex": "2012-01-07",
"Mod": "until",
"type": "daterange",
"sourceEntity": "datetimepoint",
"end": "2012-01-07"
}
Expected behavior
The Chinese implementation should behave as the English one and modify the "value" key also with modifiers "since" and "until".
The text was updated successfully, but these errors were encountered: