Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adrienjarretier/jstring-generator
Using Markov chains and Mersenne Twister in Java to generate random strings
https://github.com/adrienjarretier/jstring-generator
java-8 javafx markov-chain markov-model mersenne-twister random-string
Last synced: about 1 month ago
JSON representation
Using Markov chains and Mersenne Twister in Java to generate random strings
- Host: GitHub
- URL: https://github.com/adrienjarretier/jstring-generator
- Owner: AdrienJarretier
- License: gpl-3.0
- Created: 2017-02-25T16:41:01.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T14:21:26.000Z (about 6 years ago)
- Last Synced: 2024-10-23T20:44:48.323Z (3 months ago)
- Topics: java-8, javafx, markov-chain, markov-model, mersenne-twister, random-string
- Language: Java
- Size: 5.05 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JString-generator
## Language : Java with [NetBeans IDE](https://netbeans.org/)
### This is a port of my project in C++ https://github.com/AdrienJarretier/string-generator
You need Java 8 with Javafx to make this work.
Also for random numbers generation I'm using [ssj](https://github.com/umontreal-simul/ssj),
the dependancy should be handled automatically by Maven in NetBeans.When starting it will first read a list of words and construct a 3-order Markov Chain
it is possible to change very easily those 2 parameters in WordsList.java,
by default the program reads resources/words-lists/english.txt so you can use this filename if you want to use another list.Once the chain is generated you can click on the button on the right to generate words over and over again.
TODO :
1. ~~Analyse an English list of words to generate a Markov chain~~
2. ~~Generate a unique random word using the Markov chain~~
3. Choose the base language when starting the program
4. Differenciate word types (ie : verbs, nouns ...)
5. Generate a whole text- English word list got here : https://github.com/dwyl/english-words
- French word list : http://www.pallier.org/ressources/dicofr/dicofr.html
- Tolkien list compiled from : http://www.behindthename.com/namesakes/list/tolkien/alpha