https://github.com/pjsier/horoscope-markov
Using Markov chains to create horoscopes
https://github.com/pjsier/horoscope-markov
Last synced: over 1 year ago
JSON representation
Using Markov chains to create horoscopes
- Host: GitHub
- URL: https://github.com/pjsier/horoscope-markov
- Owner: pjsier
- License: mit
- Created: 2020-02-09T00:25:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:35:23.000Z (over 3 years ago)
- Last Synced: 2025-01-03T23:30:02.793Z (over 1 year ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Horoscope Markov Chains
Using [`markovify`](https://github.com/jsvine/markovify/) to create a Markov chain from daily horoscopes.
## Examples
> You may discover that what seems practical today could motivate you today, Taurus. While your ears and that the status quo. Deep inside you know the best you can. Although your approach assertive and not on the nuances of conversations and fascinating new information. But if you can, put it off for the last few months!
> If your partner out to be accurate, which might be to push yourself to something that interests you, Pisces. Do some serious decisions about anything could happen. Follow that instinct and get things going again in a while. If you find what you think, Sagittarius. Take an afternoon film.
## Setup
```bash
make install
make input/targets.txt
make -j 3 data/corpus.txt
pipenv run python scripts/run_model.py data/corpus.txt
```