Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Modify Rules] 複数の日付間の範囲指定のrangeStartとrangeEndが対応しない #61

Closed
yagays opened this issue Sep 5, 2021 · 1 comment
Labels

Comments

@yagays
Copy link
Owner

yagays commented Sep 5, 2021

📝 時間情報表現のルール

「2012年5月30日(水)〜6月10日(日)」といった表現の際に、中間の2つに対してrangeStartとrangeEndが付与され、外側の2つには付与されない。

[<TIMEX3 tid="t0" type="DATE" value="2012-05-30" text="2012年5月30日">,
 <TIMEX3 tid="t1" type="DATE" value="XXXX-WXX-3" range_start="True" text="(水)">,
 <TIMEX3 tid="t2" type="DATE" value="XXXX-06-10" range_end="True" text="6月10日">,
 <TIMEX3 tid="t3" type="DATE" value="XXXX-WXX-7" text="(日)">]

用例

「2012年5月30日(水)〜6月10日(日)」

時間表現への変換

仕様を検討

追加/補足情報

@yagays yagays added the rule label Sep 5, 2021
@yagays
Copy link
Owner Author

yagays commented Sep 11, 2021

range_startやrange_endの伝播は行わず、別途取得する関数などを用意する。

@yagays yagays closed this as completed Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant