GithubHelp home page GithubHelp logo

yangyaoyunshu / language-identification-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from floydhub/language-identification-template

0.0 1.0 0.0 565 KB

Detect the languages from short pieces of text

Jupyter Notebook 92.91% Python 7.09%

language-identification-template's Introduction

Language Identification

Language identification is one of the most common feature of every Social Network or Web application, this is commonly paired with Machine Translation to improve the user experience and content accesibility(a must have in the 2.0 society). What can you use it for? This is a foundation for other features such as Machine Translation (as mentioned before) and post/tweets/articles and documents analysis.

Try it now

Run on FloydHub

Click this button to open a Workspace on FloydHub that will train this model.

Language identification of short pieces of text from Wikipedia

In this notebook we will build a deep learning model able to detect the languages from short piceces of text (140 characters, old Tweets lenght) with high accuracy using neural networks. The task is commonly solved using hard-coded rules or NLP library, but we will attack the problem using Deep Learning.

Made with Sketch Group Chat

We have already gathered and extract the raw dataset from https://dumps.wikimedia.org for 7 languages: Italian, Spanish and French which are considered to be in Latin language group, English and German have also common roots. Czech and Slovakian are extremely similar and are considered to be one of major challenged in the language recognition.

iso-code language example
en English Hello world!
fr French Bonjour tout le monde!
es Spanish Hola mundo!
it Italian Ciao mondo!
de German Hallo welt!
cz Czech Ahoj světe!
sk Slovakian Dobrý deň svet!

We will:

  • Preprocess text data for NLP
  • Build and train Deep Neural Network using Keras and Tensorflow
  • Evaluate our model on the test set
  • Run the model on your own text!

language-identification-template's People

Contributors

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