Skip to content

[ NLTK, PIL ] generating text via markov chains & getting it on an image

Notifications You must be signed in to change notification settings

ashaikeus/text-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Text Generator

My first attempt at NLP, machine learning and NLTK.

While working on this project I've learned about tokenization and how to create bigrams & trigrams to form natural-sounding complete sentences, practiced regular expressions and randomization, exercised with dictionaries.

I've also added image generation, but you can pretty much ignore this part since it's not implemented well: I've hardcoded coordinates for every image and text file I used. Maybe someday I'll update it to automatically detect perfect coordinates to place text at...

About

[ NLTK, PIL ] generating text via markov chains & getting it on an image

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages