fechan / lestrade-tei-tagger

Mathematica-based TEI Tagger spun off from Audrey Holmes' Historical Markup Tool
GNU General Public License v3.0
0 stars 0 forks source link

Mathematica thinks all dates without a year refers to the current year #6

Open fechan opened 3 years ago

fechan commented 3 years ago

Mathematica thinks all dates without a year (e.g. "January 5th", "January") refers to the current year. Mathematica thinks that "January" always refers to the January in the year Mathematica is being run, which is not the case if you're processing historical documents.

fechan commented 3 years ago

As far as I can tell, there's no way to tell Mathematica directly what year it should assume, so you'll have to set the year (or ignore the date altogether) after entities have been recognized.

https://reference.wolfram.com/language/ref/TextContents.html