tarsqi / ttk

Tarsqi Toolkit
Apache License 2.0
25 stars 10 forks source link

GUTIME and TIMEX #80

Closed mnavasloro closed 6 years ago

mnavasloro commented 6 years ago

Hi,

I'm trying to get TIMEX3 tags from TARSQI, but no matter which pipeline I use (PREPROCESSOR,GUTIME, just GUTIME, adding EVITA...) I get no TIMEX3 tags, just EVENT, lex, ng...

Am I doing something wrong, is there any problem with GUTIME? Easy to get dates such as "She was born in 1987" are not detected, maybe I'm using it wrong? Isn't it GUTIME the component in charge of TIMEX3 tags, should I try another pipeline/component?

Thank you and best regards,

María NAVAS LORO

marcverhagen commented 6 years ago

Hello,

Using PREPROCESSOR,GUTIME would be correct. Did you run this on the example file (data/in/simple-xml/tiny.xml)? GUTime does miss some timexes that it should find, but you should at least get one timex on the example file.

I have also heard of an error on some windows configurations where GUTime simply does not run. I have not been able to replicate that problem on my local setup.

Marc

mnavasloro commented 6 years ago

Hello,

Thank you for the answer. Once I confirmed that with the example data GUTime worked OK, I started comparing my files to tiny.xml. The problem was my codification: it was "UTF8", just changing it to "UTF8 without BOM" solved the problem (apparently it was not an obstacle for the other components, but GUTime doesn't like it!).

Thank you and best regards,

María NAVAS LORO