Is it possible to count how ma开发者_JAVA百科ny times an entity has been mentioned in an article? For example
ABC Company
is one of the largest car manufacturers in the world.It
is also the largest company in terms of annual production.It
is also the second largest exporter of luxury cars, after XYZ company. BothABC
and XYZ together produces over n% of total car production in the country.
mentions ABC company 4 times.
Yes, this is possible. It's a combination of
- named-entity recognition (NER), which for English is practically a solved problem, and
- coreference resolution, which is the subject of ongoing research (but give this package a try)
精彩评论