Skip to content

Project done for Honors Dissertation, generates Singlish text using trained discrete time Markov models

Notifications You must be signed in to change notification settings

kaiwei-tan/MarkovTextGenerationComparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Final Year Project / Honors Dissertation (BHD4001)

Markov Text Generation Comparison App

Part of my Honors Dissertation dealing with Singlish (Singaporean colloquial English).

For this part of the project, six discrete time Markov models were trained on Singlish data. Each model treats a group of n words as a state (from 1-gram/unigram to 6-gram) and from there a sentence can be generated through probabilistic transitions between states (i.e. selecting the state transition with the highest probability).

This shiny application demonstrates the differences in sentence generations between the different models trained in the project. As this was a Singlish project, you may see some unfamiliar vocabulary, or results which may be grammatically incorrect for the variant of English you are familiar with.

Data comes from a collection of 29,656 unique sentences, of which 26,690 was sampled to "train" the Markov model.

The app can be accessed on Shinyapps: https://kaiwei-tan.shinyapps.io/MarkovTextGenerationComparison/

Supervised by: Professor Yuan Xue-Ming

About

Project done for Honors Dissertation, generates Singlish text using trained discrete time Markov models

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages