Skip to content

svineet/MarkovLanguageModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markov Chain bigram language model

Python program that learns the language distribution (bigram Markov chain) from the Brown corpus, and generates random sentences similar to the Brown corpus via randomized Depth First Search on the Markov chain.

About

A simple trigram/bigram model that generates random sentences from the brown corpus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages