This project targets on the lexical simplification of a sentence based on the Feature Based Approach. Furthermore, the model used in this research project has been referred from "SemEval-2012 Task 1: English Lexical Simplification" by Lucia Specia and Sujay Kumar Jauhar Paper.
The model consists three modules which are:
- Feature Extraction Module (FEM)
- Word Substitution Ranking Module (WSRM)
- Result Fetching Module (RFM)
What things you need to install the software and how to install them
python 3.x
nltk
ast
bs4
urllib3
pyphen
strings
operator
pywsd
wiktionaryparser
A step by step series of examples that tell you have to get a development env running
Say what the step will be
Install python 3.6 and ADD that to your PYTHONPATH
Install pip
Install the package manager for python by going at this link [Download pip](https://pip.pypa.io/en/stable/installing/).
Install nltk
pip install nltk
Install ast
pip install ast
Similarly, install all the prerequisites.
The JSON object received from the FEM module can be shown by the below figures
The final output received when we input a sentence is this:
Input Sentence is: John revoked his admit
Output Sentence is: John withdrew his admit
No Tests to show currently.
Not Deployed.
I use SemVer for versioning. For the versions available, see the tags on this repository.
- Dhruv Patel - Initial work - dhruvp-8