Coder Social home page Coder Social logo

wordmodeling's Introduction

Kannada Language Modeling

contributions welcome

A kannada word predictor platform which uses Tensorflow Keras backend powered by flask microframework.

This project is made interactive by jquery and sends asyncronous requests for more interactive and personalized experience.

This project is based on the Word modeling/language modeling technique for kannada (kn) language which pridicts the next words for the language input integrated to flask miroframework.

Language modeling is the task of assigning a probability to sentences in a language. Besides assigning a probability to each sequence of words, the language models also assigns a probability for the likelihood of a given word (or a sequence of words) to follow a sequence of words.

This project code can work for any Indian Scheduled Language and unicode languages.

Installation

The given below command can be used to install all the packages required to run the application.Enter the following command in the Powershell/Terminal.

$ pip install -r requirements.txt

Note: The above command assumes that pip is installed in the machine to create the virtual environment. Regardless any environment, The packages specified in the requirements.txt file need to be installed.

To enable email verification, The following steps need to be performed :

Step 1:

Sign into the Gmail account using a web browser at https://mail.google.com, then go to Settings > Accounts and Import > Other Google Account settings. Under Security, scroll down and enable access for less secure apps. This setting is required to enable SMTP, POP or IMAP access.

Step 2:

Type the following commands in the Powershell/Terminal

 $ export mail=**your email**
 $ export password=**your password**

The above commands uses the given gmail id to send account verification,password verification etc. Since the current smtp server is only configured to google. only gmail accounts can be used to send actvation links currently.

To run the flask server :

To run the flask server, The following Commands must be typed in the Terminal/Powershell.

$ export FLASK_APP=run.py
$ flask run

Now, open your Web-Browser and type-in

http://127.0.0.1:5000/

Alternate Method:Running server using Bash script (Experimental)

Alternatively, A bash script is written to automate email export i.e., step 2 and to run the flask server. Execute this script only after pip is installed.

Steps to execute the bash script:

  • sudo apt-get install jq(if previously not installed.)
  • chmod +x run.sh
  • ./run.sh

NOTE:

  • The written bash scirpt is to be executed only after pip is installed otherwise, The script may not work.
  • This script only works for pip virtutal environment and not any other virtual environment.

Project Description :

Abstract of the Project :

This project proposes a novel methodology to predict the next word in a Kannada(kn) sentence. By predicting the next word in a sequence, the number of keystrokes of the user can be reduced. Two deep learning techniques namely Long Short Term Memory (LSTM) has been explored for the task of predicting next word. A Long Short Term Memory network (LSTM) model which is a special kind of Recurrent Neural Network (RNN) for instant messaging, where the goal is to predict next word(s) given a set of current words to the user.

This method is more complex in other languages apart from English. For instance, in Kannada language, there are some equivalent synonyms of the word โ€˜youโ€™, that is used to address a second person in English. Here, we have developed a solution to this issue by storing the transcripted Kannada language according to International Phonetic Association(IPA) chart and have fed the data into our model.

System Architecture :

The following discribes the system architecture of the project :

System Architecture

License

This Project is licenced under MIT License.

Project Contributors

wordmodeling's People

Contributors

kushtej avatar prashanthsp6498 avatar

Stargazers

 avatar

Watchers

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