question

Kurbz-4510 avatar image
0 Votes"
Kurbz-4510 asked GiftA-MSFT answered

Luis prebuilt entity personName issue

Working with clean new app. Luis fails to tag or return more than one personname from the utterance. Even if we reverse the name order it still only extracts the first.
Example.
John and Mary = John
Mary and John = Mary

The same structure for geography will return 2 entities.

see the difference here between personName and geography.
https://i.stack.imgur.com/ejQfF.png
https://i.stack.imgur.com/Nfd8R.png

Thanks.
K.

azure-cognitive-servicesazure-language-understanding
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Can anyone replicate this or am I going straight mad in the head? Thanks )))

0 Votes 0 ·

example of geography and how it finds the entities correctly without issue.

Nfd8R.png


0 Votes 0 ·

example of geography and how it finds the entities correctly without issue.

Nfd8R.png


0 Votes 0 ·

1 Answer

GiftA-MSFT avatar image
0 Votes"
GiftA-MSFT answered

Hi, thanks for reaching out! The scenario you described is currently the expected behavior (it might extract some or all names). However, we are working on improving the built-in personName entity (currently on our road-map). However, we recommend using a machine learned entity where you label the instances of names in your dataset and using the personName entity as a feature to help create your own name entity. Sorry for the inconvenience, but hope this helps!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.