Git Product home page Git Product logo

cmartin009 / machine-learning-for-language-detection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ghitabenammi/machine-learning-for-language-detection

0.0 0.0 0.0 217 KB

In natural language processing, language identification or language guessing is the problem of determining which natural language given content is in . We will focus just on Frensh , Spanish , Portuguese and Italian

Python 100.00%

machine-learning-for-language-detection's Introduction

Machine-learning-for-language-detection: Text Classification using python, scikit-learn and NLTK , Neural Network(MLP)

Introduction:

In natural language processing, language identification or language guessing is the problem of determining which natural language given content is in . We will focus just on Frensh , Spanish , Portuguese and Italian.

Abstract:

1-download the data set from http://www.statmt.org/europarl/ ( download==>"source release"==>choose: Fr , es , pt , it)

2-Extract features from text files ( cleaning.py + feature_preparation.py)

3-Running ML algorithms , we will use MLP ( libraries =>scikit-learn and NLTK )

More details:

##First , don't forget to install nltk :)

1-Text files are actually series of words (ordered). In order to run machine learning algorithms we need to convert the text files into numerical feature vectors. We will be using bag of words model for our example. Our bag-of-words will contain n-grams Then, we need to get the frequency distribution of the words in all files (TF), We need to covert the text corpus into the feature vectors

2-Building a Classifier: After cleanup, it is time to build the classifier to identify language of each file There are many algorithms to choose from, we will use a neural network (espacially MLP) Classifier and train the model on the training set.

###########################If there are any omissions or mistakes, please do not hesitate to let me know. ###########################Email : [email protected]

<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3 MAKE CODE NOT WAR <3<3<3<3<3<3<3<3<3<3<3<3<3<3<3

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.