Skip to content

ssethia2/SyntaxTrees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 

Repository files navigation

Syntax Trees

This application accepts a sentence in English, and constructs the Syntax Trees based on X-Bar Theory.

The project was originally written in C++ in Visual Studio as a stand-alone application. It was rewritten in Python as a web application.


Linguistics

The tags used for the purposes of this project are:

  • D - Determiner
  • N - Noun
  • Adj - Adjective
  • Adv - Adverb
  • V - Verb
  • P - Preposition

The NLTK library is used to tag the words of the sentences, and the tags are converted to the above forms.


Testing

Unit tests were written for testing proper tree construction using Catch and compiled using CMake. Tests will be rewritten in pytest.


Author(s):

  • Satvik Sethia

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages