Coder Social home page Coder Social logo

word-complexity's Introduction

Lexical Simplification (Feature Based Approach)

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

The model consists three modules which are:

  1. Feature Extraction Module (FEM)
  2. Word Substitution Ranking Module (WSRM)
  3. Result Fetching Module (RFM)

Alt text

Prerequisites

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

Installing

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.

Feature Extraction Model Data

The JSON object received from the FEM module can be shown by the below figures

Alt text Alt text

Final Output of the model

The final output received when we input a sentence is this:

Input Sentence is: John revoked his admit

Alt text

Output Sentence is: John withdrew his admit

Running the tests

No Tests to show currently.

Deployment

Not Deployed.

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

Acknowledgments

word-complexity's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

bhaumik1561

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.