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

Sample compression possible? #35

Open
Anastasia29 opened this issue Jan 7, 2021 · 3 comments
Open

Sample compression possible? #35

Anastasia29 opened this issue Jan 7, 2021 · 3 comments

Comments

@Anastasia29
Copy link

Hi,

I wanted to ask you if there is any way to basically compress the samples. Let's say I have three utterances as input:
"why is it happening tonight",
"where is it happening tonight",
"when is it happening tonight"

and as output I want to get an alexa alike utterance syntax that "compresses" my utterances:
"(why|where|when) is it happening tonight"
Is something like this possible to create using your library? I'd appreciate your feedback and help. Thank you!

Best regards,
Ana

@mreinstein
Copy link
Contributor

@Anastasia29
Copy link
Author

Hi, If I understand it correctly what you just sent me is kind of other way around. Or not exactly what I need. Could you tell me how can I generate this: "(why|where|when) is it happening tonight" from this:
"why is it happening tonight",
"where is it happening tonight",
"when is it happening tonight"
?
What do I need to add to dictionary, slots and my template to achieve this result? I'd very much appreciate your help.

Thanks and best regards,
Ana

@mreinstein
Copy link
Contributor

how can I generate this: "(why|where|when) is it happening tonight" from this

You can't, it's not currently designed to do that.

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