Psp98 / NWP-WC-WC-Engine

A simple next-word prediction, word completion and word correction engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# NWP-WC-WC-Engine
A simple next-word prediction, word completion and word correction engine.

## Sample Demonstration

### 1. Next-Word Prediction

![next-1](https://user-images.githubusercontent.com/36430982/43743145-4bd21556-99f2-11e8-9ccc-0d9027940703.PNG)
![next-2](https://user-images.githubusercontent.com/36430982/43743153-54c7202a-99f2-11e8-8116-dca2e909b7c0.PNG)

### 2. Word Completion

![comp-1](https://user-images.githubusercontent.com/36430982/43743158-5c63895e-99f2-11e8-9164-194779cf30d0.PNG)
![complete-2](https://user-images.githubusercontent.com/36430982/43743165-61be88f4-99f2-11e8-8d4b-05d747b6e27d.PNG)

### 3. Word Correction

![cor-1](https://user-images.githubusercontent.com/36430982/43743170-67f41888-99f2-11e8-843f-5ca3afafac0e.PNG)
![cor-2](https://user-images.githubusercontent.com/36430982/43743179-6d02a09c-99f2-11e8-8a54-13d456da96d0.PNG)


<b> Note: </b> Put Main.py and Big.txt in same directory before running the code.


References:
  1) http://norvig.com/big.txt (Corpus)
  2) https://github.com/michaelfester/mastodon

About

A simple next-word prediction, word completion and word correction engine.


Languages

Language:Python 100.0%