Predictive text program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Predictive text program?

I want to write something that takes a sample text file, reads it, learns, and implements the vocabulary and sentence structure to make predicted sentences in the same style as the input text. I am not as skilled with machine learning as I should be, though. How could I do this? edit* What program would be the most efficient at accomplishing this? I am most proficient in Python (ignore my in-app rating. I am lazy and haven't finished the modules)

13th Dec 2017, 5:36 PM
Lucien Vinson
Lucien Vinson - avatar
1 Answer
+ 4
Check out the Natural Language Toolkit, it has a rich support in Python and is really powerful: www.nltk.org Quite easily you can construct a simple yet efficient text predictor, using scikit-learn's popular machine learning algorithms: www.scikit-learn.org
13th Dec 2017, 10:04 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar