markov text generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
FrailLeaf e85896b79e
feat: use only one entity to persist message; use an enum to differentiate.
7 months ago
.mvn/wrapper feat: initial model. 7 months ago
src feat: use only one entity to persist message; use an enum to differentiate. 7 months ago
.gitignore feat: add xmpp bot 7 months ago
LICENSE feat: add license. 7 months ago
README.md feat: add xmpp bot 7 months ago
StartBot feat: add wrapper script. 7 months ago
application.properties.example feat: add xmpp bot 7 months ago
mvnw feat: initial model. 7 months ago
mvnw.cmd feat: initial model. 7 months ago
pom.xml feat: add xmpp bot 7 months ago

README.md

Jarkov - Markov Text Generator

still WIP, currently based on my posts. move application.properties.exmaple to the src/resources/application.properties with your config

Dependencies:

  1. Java17 - ensure JAVA_HOME env var is set
  2. Postgresql - for saving xmpp messages (for now).

Instructions:

  1. ./mvnw spring-boot:run <- launch the service
  2. Run StartBot script to direct posts towards a fedi account.
  3. Finally, throw the script into a crontab and let it do the work for you.

WARNING:

  1. Currently the training data is completely manually generated and lives in src/main/resources/trainingData. I will make this a bit better by giving a functionality to load your custom data. If you load some data in the current state, make sure your data is a single line of string separated by spaces.