Skip to content

garain/Sentence-Simplification

Repository files navigation

Sentence-Simplification HitCount

Tool to simplify complex and compound sentences to simple sentences implemented using Python

Data input

Place your own data in the file "All_types_of_inputs.txt" one sentence per line.

Usage

Run the program simplifier_new.py.

External files required

Download these files from https://drive.google.com/file/d/107tkz4jXKhlNIx6nr8KZOX4aSdqgx8C5/view?usp=sharing

Requirements

nltk, anytree

Environment variable setup

Go to link: https://medium.com/manash-en-blog/configuring-stanford-parser-and-stanford-ner-tagger-with-nltk-in-python-on-windows-f685483c374a

Or just setup this:(Just keep the files downloaded at given place and copy the paths given below)

Environment variable name: CLASSPATH Environment value = D:\NLP\stanford-parser-full-2018-02-27;D:\NLP\stanford-postagger-full-2015-12-09;D:\NLP\stanford-ner-2015-12-09 Environment variable name: STANFORD_MODELS Environment value = D:\NLP\stanford-ner-2015-12-09\classifiers;D:\NLP\stanford-postagger-full-2015-12-09\models Environment variable name: JAVA_HOME Environment value = C:\Program Files\Java\jdk1.8.0_181\bin

Bibliography details

Please cite the paper if you use the tool and data.

Bibtex

@INPROCEEDINGS{9036207, author={A. {Garain} and A. {Basu} and R. {Dawn} and S. K. {Naskar}}, booktitle={2019 4th International Conference on Information Systems and Computer Networks (ISCON)}, title={Sentence Simplification using Syntactic Parse trees}, year={2019}, volume={}, number={}, pages={672-676},}

Plain Text

A. Garain, A. Basu, R. Dawn and S. K. Naskar, "Sentence Simplification using Syntactic Parse trees," 2019 4th International Conference on Information Systems and Computer Networks (ISCON), Mathura, India, 2019, pp. 672-676.

About

Tool to simplify complex and compound sentences to simple sentences implemented using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages