Skip to content

Commit

Permalink
Rollback the mapping of during and during_inv
Browse files Browse the repository at this point in the history
  • Loading branch information
hmosousa committed Jan 29, 2025
1 parent e13991a commit f5ee420
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/tieval/temporal_relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"EQUAL": "SIMULTANEOUS",
"AFTER": "AFTER",
"A": "AFTER",
"BEGINS-ON": "BEGINS", #
"BEGINS-ON": "BEGINS",
"SIMULTANEOUS": "SIMULTANEOUS",
"S": "SIMULTANEOUS",
"INCLUDES": "INCLUDES",
"I": "INCLUDES",
"DURING": "IS_INCLUDED",
"ENDS-ON": "ENDS", #
"DURING": "SIMULTANEOUS", # According to TimeML 1.2.1 guidelines
"ENDS-ON": "ENDS",
"BEGUN_BY": "BEGUN_BY",
"STARTED_BY": "BEGUN_BY",
"ENDED_BY": "ENDED_BY",
"DURING_INV": "INCLUDES",
"DURING_INV": "SIMULTANEOUS", # According to TimeML 1.2.1 guidelines
"ENDS": "ENDS",
"IS_INCLUDED": "IS_INCLUDED",
"II": "IS_INCLUDED",
Expand Down Expand Up @@ -228,10 +228,8 @@ def _relative_position(self):
"IAFTER": PointRelation(xs_ye="="),
"INCLUDES": PointRelation(xs_ys="<", xe_ye=">"),
"IS_INCLUDED": PointRelation(xs_ys=">", xe_ye="<"),
# "ENDS-ON": PointRelation(end_end="="),
"BEGINS": PointRelation(xs_ys="=", xe_ye="<"),
"BEGUN_BY": PointRelation(xs_ys="=", xe_ye=">"),
# "BEGINS-ON": PointRelation(start_start="="),
"ENDS": PointRelation(xs_ys=">", xe_ye="="),
"ENDED_BY": PointRelation(xs_ys="<", xe_ye="="),
"SIMULTANEOUS": PointRelation(xs_ys="=", xe_ye="="),
Expand Down

0 comments on commit f5ee420

Please sign in to comment.