Next Word Prediction Based On N-Grams

Next Word Prediction Based On N-Grams

- 1 min

This project aims to predict the words that may come after the input using n-gram techniques.

Data

Only the turkish version of the le petit prince book was used as training data.

Demo

You can test it here

Usage

You can access all project codes in here. After downloading the repository, you can install all required libraries with pip.

pip install -r requirements.txt

Run flask app.

export FLASK_APP=app.py
flask run

Now go to localhost:5000 on your local. :tada:

Mustafa Durmus

Mustafa Durmus

a man who travels the world!

rss facebook twitter github gitlab youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora