|
|
|
@ -6,15 +6,17 @@ Markov chain discord bot, sends randomly generated sentences at configurable int
|
|
|
|
|
|
|
|
|
|
Put some text into `corpus.txt`, and then run
|
|
|
|
|
|
|
|
|
|
git clone https://git.xeno.science/xenofem/markov-bot
|
|
|
|
|
cd markov-bot
|
|
|
|
|
python3 -m venv env
|
|
|
|
|
source env/bin/activate
|
|
|
|
|
pip install discord.py
|
|
|
|
|
python markov-prep.py
|
|
|
|
|
cp config.json.example config.json
|
|
|
|
|
vi config.json
|
|
|
|
|
python markov-bot.py
|
|
|
|
|
```bash
|
|
|
|
|
git clone https://git.xeno.science/xenofem/markov-bot
|
|
|
|
|
cd markov-bot
|
|
|
|
|
python3 -m venv env
|
|
|
|
|
source env/bin/activate
|
|
|
|
|
pip install discord.py
|
|
|
|
|
python markov-prep.py
|
|
|
|
|
cp config.json.example config.json
|
|
|
|
|
vi config.json
|
|
|
|
|
python markov-bot.py
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
|
|