3 ms·
Ask HN: Any AI/ML approaches to “date tag” text documents?
For news articles, press releases etc. etc., might/not have an explicit date mentioned, but in the body could state "In the Spring of 2018...." => 2018/03/??
Any tools in this space?
- physicsyogi 7y agoThere are two parts to this: (1) labeling something as a date or time and (2) normalizing it to a time stamp. The first part is the tagging. The second part is temporal normalization. There are several libraries for temporal normalization: - Duckling: https://github.com/facebook/duckling https://github.com/facebook/duckling - JChronic: https://github.com/samtingleff/jchronic https://github.com/samtingleff/jchronic - There's also Chronic (Ruby version that jchronic was made from). Stanford NLP and SpaCy also do tagging: - https://github.com/stanfordnlp/stanfordnlp https://github.com/stanfordnlp/stanfordnlp - https://spacy.io/usage/linguistic-features#named-entities https://spacy.io/usage/linguistic-features#named-entities Edit: Stanford NLP does not do temporal normalization. Added SpaCy