/ngram-markov

Primary LanguageLuaMIT LicenseMIT

ngram-markow

Usage: lua ngram.lua INPUTFILE STARTCHAR GRAMDIVIDER

  • INPUTFILE - The file to use
  • STARTCHAR - The char to start the markov process with
  • GRAMDIVIDER - Optional divider char/string to divide the grams in the output