Using the nltk to recognise dates as named entities?

前端 未结 1 935
轻奢々
轻奢々 2021-02-10 15:45

I\'m trying to use the NLTK Named Entity Tagger to identify various named entities. In the book Natural Language Processing with Python they provide a list of commonly

1条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-10 16:17

    You should check out the contrib repository of NLTK - contains a module called timex.py or download it here: https://github.com/nltk/nltk_contrib/blob/master/nltk_contrib/timex.py

    From the first line of the module:

    # Code for tagging temporal expressions in text
    

    0 讨论(0)
提交回复
热议问题