Presentation for Predictive Text Model

Yunzhe Liu
2014/11/1

Breif Introduction

This is a simple program that you can write a phrase and the software will search into a database for the next most common word for that phrase.

You can write sentence with punctuations and in different lines. However, it will interpret as a full word without these characters

How it work

This app is bulit on state-of-art NLP. More spexifically:

 1 If you have written 2 words, the software will search in a database  composed by 3-grams.  

 2 If you have written 3 words, the software will search in a database composed by 4-grams, if there is less than 3 words for the prediction, the software will transform to a 2 word phrase and execute step 1.  

 3 If you have written 4 words or more, the software will select the last 4 words and search in a database composed by 5-grams.

If the desired sequence is not found?

1 If the desired sequence is not found, last written word is divided in half, and a similar word with the first half characters is used for the search.

2 If the desired sequence is not found, last written word is divided in half, and a similar word with the second half characters is used for the search.

3 If the desired sequence is not found, the software picks only the last 3 characters and search for all database with the same last characters.

The end

Thank you! It has been a great pleasure.

Cheers!

Yunzhe