Giter Site home page Giter Site logo

rohitspingulkar / language-detection-model Goto Github PK

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

Building a Language Detection model using NLP and deeplearning

License: GNU General Public License v3.0

Jupyter Notebook 99.25% Python 0.75%
nlp machine-learning natural-language-processing python

language-detection-model's Introduction

Language-Detection-Model

Building a Language Detection model based on a data which has text and the language name using NLP and deeplearning.

Using vectorization and sklearn library I have build a basic model with logistic reggression which will detect which language is given as input.

Sklearn is very powerfull and very easy to build a model.

7 Languages used : ENGLISH, FRENCH, DUTCH, DANISH, SPANISH, ITALIAN, GERMAN

Language Detection.csv is the data,from that I extracted 7 languages data with labels and cleaned it using regex(Regular expression), preprocessing of data is done with the labels and i have given that data into a pipeline, pipeline is used for executing operations one after the other so i have given first operation as vectorization and second as the model training initialization.

Accuracy is 98%.

Thats it, very simple and easy code. Any doubts you can ask me on my git or email!. Feel free.

You can try with your own data and many other languages but preprocessing of that must be considered.

Note : Running the notebook on colab will generate a model which is not upto date version of sklearn so you can run modelbuilding.py file to build your model for local model building.

language-detection-model's People

Contributors

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