HeidelTime / heideltime

A multilingual, cross-domain temporal tagger developed at the Database Systems Research Group at Heidelberg University.
GNU General Public License v3.0
343 stars 67 forks source link

Difference between UNDEF-REF- and UNDEF-REFUNIT-? #55

Open kno10 opened 7 years ago

kno10 commented 7 years ago

Can't we just remove REFUNIT and replace it with REF? REFUNIT currently may only be used with year, and I don't fully understand the difference. Also this vs. REF? The documentation I found was not very clear on this difference.

As far as I can tell, REFUNIT-year and REF-year/this-year will differ in their "fuzziness". So 2017-06-07 will be mapped to 2016-06-07 or to 2016. But overall, this fuzziness is not consistently used. Usually, there exists UNDEF-this-<unit>-PLUS-1 and UNDEF-next-<unit>, which may or may not do the same thing, and additionally UNDEF-REFUNIT-year-PLUS-1 for year only...

Of course there is no golden rule whether "in a week" refers to exactly 7 days, or the week; and we may need to use heuristics (e.g. "next week" usually being the entire week, "in a week" usually being 7 days, but "in two weeks" being an entire week again), but they should be made explicit.