When I am sending text using Watson api NLU
with my city
which is located in India
. I am getting empty entity. It should be come with data entity location. So how can i solve this problem in watson NLU
.
The sentence being sent is:
mba college in bhubaneswar
where Bhubaneswar is the city
So based on your comment sentence of:
Putting that into NLU and entity detection fails with:
The first issue is that because no language is specified, it tries to guess the language. But there is not enough there to guess (even if it is obvious to you).
The second issue is, even if you specify the language it will not fully recognise. This is because it's not a real sentence, it's a fragment.
NLU doesn't just do a keyword lookup, It tries to understand the parts of speech (POS) and from that, determine what the word means.
So if I give it a real sentence it will work. For example:
I used this sample code:
That gives me the following results.
If it's a case you are only going to get fragments to scan, then @ReeceMed solution will resolve it for you.