-
Notifications
You must be signed in to change notification settings - Fork 34
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 parameters.genie for Chinese #15
Conversation
@gcampax |
By the way, you might want a better commit message than "init commit" so in the future, when you go through the history to e.g. understand a change or figure out a regression, you'll remember what's going on. See https://chris.beams.io/posts/git-commit/ for a guide. Learning to write good commit messages will be helpful in the future, just a general engineering skill! |
Yeah, so the syntax In other words, this takes a derivation of the form:
and converts it
If you look at the code, you'll see there are 3 cases where this templates kicks in:
|
Got it! Thank you for sharing this, it's useful ! |
I see. So these three types cover all the possible parameters passing scenario currently support in Almond right? |
Well, Almond (really, ThingTalk) support parameter passing any output parameter into any input parameter of the same type. There are other parameter passing "styles". One is projection-based: The other is by parameter name: If the natural language allows it, you can imagine more parameter passing styles (aka coreferences). These are just the ones that make sense in English. |
Thank you! |
what do you mean by complete ? |
are you referring to the term |
@rayslxu |
We want to deemphasize Comma for the 1.0 release, and the question is confusing anyway. Fixes #15.
add parameters.genie for Chinese