AmyOlex / Chrono

Parsing time normalizations from text.
GNU General Public License v3.0
15 stars 4 forks source link

Duplicate Year Entities #47

Closed maffeyl closed 6 years ago

maffeyl commented 6 years ago

Creating duplicate years with the same spans.

AmyOlex commented 6 years ago

We are only double parsing the year when the format is "February 18, 2010". To narrow things down we are not double parsing the month and day, only the year.

AmyOlex commented 6 years ago

I found the issue. It was the buildTextMonthAndDay method. I added the year flags to that method and it works great now.