Extract list of Persons and Organizations using Stanford NER Tagger in NLTK

前端 未结 6 1688
孤独总比滥情好
孤独总比滥情好 2020-11-29 01:36

I am trying to extract list of persons and organizations using Stanford Named Entity Recognizer (NER) in Python NLTK. When I run:

from nltk.tag.stanford impo         


        
6条回答
  •  鱼传尺愫
    2020-11-29 02:19

    Use pycorenlp wrapper from python and then use 'entitymentions' as a key to get the continuous chunk of person or organization in a single string.

提交回复
热议问题