-
Notifications
You must be signed in to change notification settings - Fork 119
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
No current way to get correct expressions #1172
Comments
I would like to send a PR for that, because else expressions from Is the following fine? Exp *exp_with_dialect_resolved = lg_exp_set_dialect(const Exp *e, const Parse_Options opts);
void free_Exp(Exp *e); |
I guess. Right now, the only thing that is using the Exp API is the opencog/nlp/lg-dict code, that imports expressions into the atomspace. These are used in the microplanner/sureal generation code, which is currently unmaintained. So there is no urgency to fix this. |
There is another naming option:
The idea here is that now we need to set only the dialect, but we can leave it open for setting other things according to new parse-options (that just now maybe we cannot even guess). For freeing the expression, I guess Comments:
|
I think that |
Note that they may contain dialect components and there is no public API to convert them to fixed costs.
Something like this:
lg_exp_set_dialect(Exp *e, Parse_Options opts)
.Originally posted by @ampli in #1146 (reply in thread)
The text was updated successfully, but these errors were encountered: