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

Document how to append to the grammar #23

Open
jokull opened this issue May 24, 2020 · 1 comment
Open

Document how to append to the grammar #23

jokull opened this issue May 24, 2020 · 1 comment

Comments

@jokull
Copy link
Contributor

jokull commented May 24, 2020

If there is a way to augment the grammar file for specific project contexts, that should be documented.

@sveinbjornt
Copy link
Member

Agreed, we need much more and better documentation of the grammar. Meanwhile, you might want to take a look at Greynir's query handling modules, which extend the grammar to handle a wide range of natural-language queries. They're the ones used by Embla.

https://github.com/mideind/Greynir/blob/master/query.py
https://github.com/mideind/Greynir/tree/master/queries

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