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

wrong intent recognition #14

Open
Marcin-st opened this issue Sep 25, 2020 · 1 comment
Open

wrong intent recognition #14

Marcin-st opened this issue Sep 25, 2020 · 1 comment

Comments

@Marcin-st
Copy link

Marcin-st commented Sep 25, 2020

[Rules]
name = EMMA
radio_station = (SMOOTH JAZZ:RMF_SMOOTH_JAZZ| JAZZ:RMF_SMOOTH_JAZZ)

[SWITCH_TO_RADIO]
<Rules.name> (PRZEŁĄCZ){item:RADIO_STATION} NA <Rules.radio_station>{value} PROSZĘ

Sentance:
EMMA PRZEŁĄCZ NA SMOOTH JAZZ PROSZĘ

Should give "entity": "value", "value": "RMF_SMOOTH_JAZZ"

it is giving: "entity": "value", "value": "SMOOTH RMF_SMOOTH_JAZZ"

@h4de5
Copy link

h4de5 commented Mar 1, 2021

you are replacing SMOOTH JAZZ as well as JAZZ with RMF_SMOOTH_JAZZ in the rules definition.

try:

[Rules]
name = EMMA
radio_station = ((SMOOTH JAZZ):(SMOOTH RMF_SMOOTH_JAZZ)|(JAZZ):(RMF_SMOOTH_JAZZ))

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

2 participants