mpi-sws-rse / sempre-interactive-flipper Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sidaw/sempre-interactive
Semantic Parser with Execution
License: Other
This project forked from sidaw/sempre-interactive
Semantic Parser with Execution
License: Other
After the introduction of "definition rephrasing", now we are only inducing the best scoring definition. This results in an unexpected behavior if the user expects the original definition to generalize correctly.
Add both the definitions: the original one and the best scoring one
If visit all red
is defined as foreach point in world containing item has color red visit point
(no curly braces around visit point, which is ok regarding to the grammar), then the GrammarInducer induces (amond other things) $Point -> all red
.
This is a problem because $Point doesn't have a meaning outside a for loop.
Currently, items are referred by their color by e.g. .. has color red
and by their shape by ... has shape triangle
.
That difference is artificial. A preferred solution would be ... is red
and ... is triangle
With the -Parser.aggressivePartialParsing
option flag, when doing the following:
Try "for each point in world containing item is red {visit point; pick every item is red" (note the space in "for each"). This is parsed as "foreach point in world containing item is red {visit point; pick every item is red" by the extended parsing. Accept the parse
Define "gather red" as "for each point in world containing item is red {visit point; pick every item is red"
Then the grammar inducer does not induce "gather $Color" and "gather $Property".
If defining "gather red" as "foreach point in world containing item is red {visit point; pick every item is red" (without the space in "foreach"), then "gather $Color" and "gather $Property" are induced.
When commanded pick every item
on the field that contains two same items (e.g. two red circles), it will pick only one of them.
Probably introduced by commit 2c86080
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.