Giter Site home page Giter Site logo

syntacticparsingviewer's Introduction

SyntacticParsingViewer

A Tool to view or edit syntactic parsing results

There are four .html files in this project.
(TagParse.html and ViewParse.html are chinese language version)
(TagParse_english.html and ViewParse_english.html are english language version)
(Different language versions only mean the languages on tha page are different, not the language of the syntactic tree)

TagParse.html:
-You can open this file in your browser (Chrome recommended)
-Then input a syntaictic parsing result in the top TextInput (the format of the parsing result string should be consistent with the result from BerkerleyParser, an example will be given below).
-Click outside this TextInput, then the tree will appear.
-You can input the ID of a node in corresponding TextInput, then click outside, the content of that node (if exists) will be shown in the TextInput below.
-Try various operations on the tree to change its content or structure.
-Once you changed the tree, the Sencond TextInput (which is closely next to the TextInput where you input your syntactic parsing result) will show the corresponding string format of syntactic parsing result of the current tree.
ViewParse.html:
-You can copy more than one syntactic parsing reault into the TextArea, each line stands for one syntactic tree.
-Then click outside the textarea, the first line of what you input will be show at the bottom of the page.
-"Prev" and "Next" buttons can be used to switch among different syntactic trees.
An Syntactic Tree Input Example:
( (IP (NP (DP (DT 该)) (NP (NN 山地))) (VP (VV 位于) (NP (NN 天山山脉)))) )
中文说明(懒得看上面可以看这里,简述一下):
TagParse.html可以通过多种操作改变你已有的句法树结构,并自动生成新的树结构对应的句法结构字符串。
ViewParse.html可以查看句法结构字符串的可视化树结构,可以一次输入多行,每行对应一个句法树,初始显示第一句。
输入的句法树结构应该和BerkelParser的输出形式完全一致。

syntacticparsingviewer's People

Contributors

tanglrhello avatar

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.