Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only 1 occurrence of an entity is resolved for regexp nlu engine #51

Open
ghost opened this issue Sep 24, 2018 · 1 comment
Open

Only 1 occurrence of an entity is resolved for regexp nlu engine #51

ghost opened this issue Sep 24, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 24, 2018

Automotive team is working on developing a functionality in our small talk skill to identify names. The skill uses regexp engine, and we have defined a custom entity called names with 400+ names.

The issue we're having is that the utterance "Hi my name is Mary Anne" only resolves 1 name which is "Mary". The request object in the skill does not have "Anne", which it should.

When we flipped the names to "Hi my name is Anne Mary", only "Anne" is in the request object. Is this the expected behavior of the regexp NLU engine? If so, could the utterance be processed completely for each entity type and all occurrences be return? @offerakrabi

@offerakrabi
Copy link
Collaborator

@nguyen-j can you please share your regex with me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant