NathanBrooks / InfinityBot

Modular Telegram Bot
Apache License 2.0
1 stars 1 forks source link

Markov Module re-write #15

Open NathanBrooks opened 7 years ago

NathanBrooks commented 7 years ago

re-write the markov module to be more dynamic, have persistant memory, and a new model for how to build sentences

Markov chain parts of speech, each part of speech having a word list with percentage usages, we lose the context but the parts of speech basically ad-lib us, so it should still be interesting and coherent enough to be fun.

for detecting parts of speech, use a library like https://github.com/dariusk/pos-js