Giter Club home page Giter Club logo

sempre-interactive-flipper's Issues

Always induce original definition

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

Grammar inducer induces definition for point

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.

Unify treating of colors and shapes

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

Problem inducing grammar definitions with aggressivePartialParsing

With the -Parser.aggressivePartialParsingoption 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.