简体   繁体   中英

is there a method that allows to determine if NOUN is a person or Object?

I have a text in input like :

the economist made a report to summarize what was done.

and i want to get in output :

economist : NOUN/Person
report : NOUN/object 

So, i want to determine from a NOUN if it is a person or object (like semantic classification)

I think Named Entity Recognition is what you are looking for. Take a look at the NLTK doc: https://www.nltk.org/book/ch07.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM