https://github.com/fallaciousreasoning/markov
A simple program for building markov chains and generating text (intended, eventually, for use with Concierge)
https://github.com/fallaciousreasoning/markov
Last synced: 9 months ago
JSON representation
A simple program for building markov chains and generating text (intended, eventually, for use with Concierge)
- Host: GitHub
- URL: https://github.com/fallaciousreasoning/markov
- Owner: fallaciousreasoning
- Created: 2017-03-08T08:45:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-12T23:54:28.000Z (over 9 years ago)
- Last Synced: 2025-01-31T09:46:13.360Z (over 1 year ago)
- Language: JavaScript
- Size: 79.1 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# markov
A simple program for building markov chains and generating text (intended for use with Concierge). The program allows for custom corpora to be specified to generate a piece of text of fixed length. The back end has support for ngrams but the current front end only supports bigrams for text generation :'(
# Usage
## Installation
`/kpm install markov`
## Adding a Corpus
/markov add [corpusName] [corpus]
## Generating a Markov Chain
/markov [corpusName] [length]
## Listing available corpora
/markov list