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

Add flags to semantic parsing #19

Open
kmineshima opened this issue Apr 6, 2018 · 0 comments
Open

Add flags to semantic parsing #19

kmineshima opened this issue Apr 6, 2018 · 0 comments
Assignees

Comments

@kmineshima
Copy link
Collaborator

Adding 'flags' to semantic parsing would be useful to generate various formulas from a single set of templates. A template could be written as:

- category: ...
  semantics: ...
  tags: ["tense", "modal"]

and then you could call the script as:

python semparse.py --tags tense modal

in which case, only those templates that have "tense" and "modal" in their tags would be eligible. Also, those templates with no tags would also be eligible.

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

No branches or pull requests

2 participants