Skip to content

yashpatel1994/Sentence_Simplifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentence_Simplifier

This repository is our attempts at NLP to break clauses, detect subjects, objects, relations, prepositional phrases etc.

Contributors:

  • Priyansh Trivedi
  • Gaurav Maheshwari
  • Silpa Rao
  • Hemil Shah
  • Yash Patel

To set this repo up on a fresh computer:

$ git clone https://github.com/geraltofrivia/Sentence_Simplifier.git
$ cd Sentence_Simplifier
$ sudo apt-get install build-essential
$ sudo apt-get install python-dev
$ sudo pip install spacy
$ sudo python -m spacy.en.download --force all
$ sudo pip install -U nltk
$ sudo pip install -U numpy
$ python
>>> import nltk
>>> nltk.download()

To use the Clause classifier, we need to first train it. To do so, (while in the root directory of the repo)

$ python
$ import classifier
$ c = classifier.Classifier()
$ c.train()

At this point of time, we have installed every required library and trained our classifier over the given data. Now we're ready to handle anything that's thrown to this.

About

Our attempts at NLP to break clauses, detect subjects, objects, relations, prepositional phrases etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 40.2%
  • Perl 26.9%
  • HTML 24.6%
  • Python 8.3%