Skip to content

Java implementation of Markov models of different orders (part of the Coursera Java specialization)

Notifications You must be signed in to change notification settings

kauber/Markov_Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploring predictive text in Java

This project implements predictive text using Java, and it's part of the assignments of the Java programming principles of software design course. The code was originally developed in BlueJ, then moved to IntelliJ and adjusted to run there.

The fundamental ideal is to generate random text by training character selection on a training text, provided in the /data folder.

The code includes a set of Markov models of n orders, where n indicates the number of characters used to predict the following one during text generation.

The code also implements an efficient version of the model, in which predicted characters are not computed from scratch at every run, but instead stored in a hashmap to be queried multiple times.

About

Java implementation of Markov models of different orders (part of the Coursera Java specialization)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages