GithubHelp home page GithubHelp logo

elisiojsj / nlp-language-classification-generation-translation Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 1.04 MB

NLP projects.

Jupyter Notebook 100.00%
language-translation language-classification rnn language-generation translation-models nlp pytorch python

nlp-language-classification-generation-translation's Introduction

NLP language classification, generation and translation models

This is a series of models for NLP (Natural Language Processing).

The objective of this project is to train a simple RNN to on words of different languages and to verify if it learned to identify the style of each language.

This is the same as the above language classification but using LSTM and GRU units.

In this model we are training a simple RNN on a set of words of different languages for it to understand each one sequence patterns. After trained it's possible to generate words on each of the languages based on the learned patterns.

This is a English - Japanese translation model, the dataset and the code can be adapted for any other pair of languages. As the dataset file was huge we used some filters based on the English sentences. To tokenize Japanese words it's necessary to use mecab-python3 to separate the basic structures as Japanese, contrary to European languages doesn't have space between words. The translation model uses LSTMs and Attention

Dataset

The data used for language classification and generation was obtained from arcticles in wikipedia on these different languages. The articles were cleaned before loading to the model. All characters were converted to ASCII.

The sentence pairs used for the language translation model were downloaded on ManyThings.org which arranged files with sentence pairs from the Tatoeba Project

nlp-language-classification-generation-translation's People

Contributors

elisiojsj avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

sameeksha1620

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.