Skip to content

jeffreylovitz/Moby-Dick-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Moby Dick 2

An Android app that uses Markov modeling in an asynctask to generate plausible word sequences based on an inputted corpus (by default, Moby Dick).

The input is read and tokenized, with 2 consecutive words (called a prefix) acting as the key with the next word acting as the value.  These pairs are stored in a hash table which sorts based on a rolling hash function.

The Markov modeling implementation is derived from The Practice of Programming by Kernighan and Pike.

About

An Android app to predictively generate text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages