开发者

Searching text for geonames

开发者 https://www.devze.com 2022-12-25 06:14 出处:网络
which part of huge package nltk 开发者_开发技巧I must study and use, if I need mark geonames in text?You\'ll want to use their named entity recognizer nltk.ne_chunk.

which part of huge package nltk 开发者_开发技巧I must study and use, if I need mark geonames in text?


You'll want to use their named entity recognizer nltk.ne_chunk.

Once the text is tagged you'll want to look for phrases labeled LOC (location) and GPE (Geo-political Entity).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号