provide Custom Entities to Google NLP engine

2020-07-13 10:59发布

问题:

I want the Google NLP engine to be able to recognize custom entities. I have a company called Hint and I want it to tag it as an organization. 'I like hint' or 'I like Hint' does not tag Hint as a organization. It tags Hint as "Other" entity type.

Is there some key word to provide to Google NLP so I can talk to it. For example can I pre process my text such as

I like %CUSTOM_ENTITY%

回答1:

We don't currently have a mechanism for adding custom entities.

I'd be interested to learn more about what you'd like to do. How many entities would you like to put in? What kinds of information would you like to include? Are you thinking of a list of entity names and types?