Coder Social home page Coder Social logo

shreyanshchordia / pos-tagging-using-sequential-networks Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 71.8 MB

Part Of Speech Tagging Using Sequential Models. Recurrent Neural Networks. 96% Accuracy

Python 5.27% Jupyter Notebook 94.73%
sequence-models lstm-neural-networks sequential-network speech-tagging lstm-layer sequential-models neural-network machine-learning machinelearning machinelearning-python deep-neural-networks deeplearning colab-notebook part-of-speech-tagger part-of-speech-tagging

pos-tagging-using-sequential-networks's Introduction

Part Of Speech Tagging Using Sequential Neural Networks

In this repository I have taught my models, the task of part of speech tagging. I have been able to achieve an accuracy of 96%. 3 different models have been trained.

Since part of speech tagging of a word does not simply depend on the word, but its tagging has a dependence on the nearby words as well, hence solving this problem requires us to have information, even of the past words when we are tagging a particular word. This kind of problem cannot be solved effectively by a Simple Neural Network.

Such problems can be solved by training less number of parameters and hence in a more robust way using Sequential Neural Networks. A sequential network is the one that uses sequential layers like the simple recurrent neural layer, or the LSTM layer or the GRU layer. A sequential network is so called because it can effectively understand the relation between two phases of the same sequence virtually inputted at different time frames.

In this repository I have architectured 3 simple Sequential Models:

  1. model1- Uni-directional LSTM Layer Model (93.20% ACC)

  2. model2- Bidirectional LSTM Layer Model (96% ACC)

  3. model3- Multiple Input Bidirectional LSTM Layer Model (inputted with certain features along with the sequence) (96% ACC)

Detailed overview can be done by refering to the colab notebook first.

If you directly want to see the models giving outputs, then:

  1. clone the repository

  2. run model1_in_action.py / model2_in_action.py / model3_in_action.py

I have used a lot of libraries in this project. You must install them before trying to run the code.

  1. nltk

  2. numpy

  3. tensorflow

  4. keras

  5. sklearn

  6. matplotlib

  7. regex

  8. mxnet

  9. gluonnlp

  10. h5py

pos-tagging-using-sequential-networks's People

Contributors

shreyanshchordia avatar

Watchers

 avatar

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.