GithubHelp home page GithubHelp logo

ner_using_deeplearning's Introduction

NER_using_DeepLearning

Named Entity Recognition based on neural networks

I have used standard gmb-2.2.0 annotated dataset.

There are two files where one has decision_tree_classification implementation and the other has keras classifier(neural network) implementation.

I got 95.56% accuracy with decision tree classifier where as 96.34% accuracy with keras classifier.

Features used are word_in_lower_case, pos_tag of the word, last 3 letters of the word, last 2 letters of the word, if the word is in caps, if the word starts with caps ,if the word is in beginning or end of the sentence and same features for the next word or previous word in the sentence according to its place.

For testing pipeline implementation of vectorizer and keras, Run file 'Neural_network_classifier' with all the requirements installed.It asks for user input to input the test sentence and returns the NER tags for each word in the sentence.

  • Create a Virtual environment
pip install virtualenv
virtualenv .
  • Install requiremnts
pip install -r requirements.txt

  • Run classifiers
python path(neural_network_classifier.py)
python path(decision_tree_classif.py)

Training sentences were only 10000 when I got this accuracy due to lack of computational capabilities.Accuracy would increase when we increase the training data.

ner_using_deeplearning's People

Contributors

yoshithapenaganti 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.