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

Too many commands make Annyang to dont recognize most #433

Open
pfeldman opened this issue Dec 5, 2020 · 1 comment
Open

Too many commands make Annyang to dont recognize most #433

pfeldman opened this issue Dec 5, 2020 · 1 comment

Comments

@pfeldman
Copy link

pfeldman commented Dec 5, 2020

I'm trying to make a chess game for blind people, handled by speech, adding a few commands like knight a5 works just fine
however, after adding all pieces and positions, it ends up with about 2100 commands.

Saying knight a5 won't work now. Is there a limit of words can be added?

Also, is there a way to indicate that use will say one of the commands to find the closest one?

@thomaspsik
Copy link

Hi,

I am not an expert, but I would suggest that you use the "tag" function:
knight :position
queen :position

and so on ... you should receive the position in the function as a parameter.

see https://github.com/TalAter/annyang/blob/master/docs/README.md#commands-object

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