Giter Club home page Giter Club logo

parse-tree-gui-tool's Introduction

parse-tree-gui-tool

Some changes

Execution procedure:

Open the index.html in any (chrome or firefox tested) browser. The tool has a display of syntax parser tree and a drawing region and a filter. Just play with it :-)

parse-tree-gui-tool's People

Contributors

kandy16 avatar kandy-koblenz avatar

Watchers

 avatar Denis Memmesheimer avatar

Forkers

inteldict

parse-tree-gui-tool's Issues

Parser text reading needs to be improved

The parser text reading is not intelligent enough to differentiate the edge label from node labels and also not able to identify key and values.
Say for e.g
(expr S
(conj S [ref=4]
(subj NP [ref=1]
(head PersPron [ref=1]
(lex நான் [stem=I,case=1,person=1,number=sg])))
(head V [ref=3]
(lex தூங்குகிறேன் [stem=sleep,tense=present,person=1,number=sg,mode=active])))
...
in this lex is the edge label and நான் or தூங்குகிறேன் are node labels

Features filter to reduce the graph visual size

Say for e.g.
(expr S
(conj S [ref=4]
(subj NP [ref=1]
(head PersPron [ref=1]
(lex நான் [stem=I,case=1,person=1,number=sg])))
(head V [ref=3]
(lex தூங்குகிறேன் [stem=sleep,tense=present,person=1,number=sg,mode=active])))

The tool produce graph visual output with node label as 'நான் [stem=I,case=1,person=1,number=sg]'. When only 'நான்' is displayed, this reduces graph size visual output, which will improve clarity in dealing with a large graph.

The idea would be to show a list with boolean flags. The list displays all the features for one graph and checking on and off with boolean flags will display or hide that particular features in the graph.

JSON with a lot of details

The format of the JSON needs to be changed to accommodate edge labels and features.
Right now all these information are put in as if they are part of the text node itself.

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.