Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markov commands now work! #55

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Markov commands now work! #55

wants to merge 23 commits into from

Conversation

jellopudding
Copy link
Member

created a markov group that can read text, read massages and (un)intentionally spam chat! the way it stores the chain and such is a little odd, but it seems OK in memory usage.

import json
import io
import random
import numpy

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really Curious At What NUMPY is used for.

Copy link
Member Author

@jellopudding jellopudding Dec 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's been a while since anyone's worked on this, but iirc it was basically used to select randomly from a list. I decided it would be easier to just add duplicates of a word to the list of possible words after a given word than do some other, infinitely more well thought out, solution.

To be honest if we were still working on this project we'd probably just do over everything from scratch in a more modular and well thought out fashion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants