Use this code however you wish. Modifications, improvements, additional lists of names, and new algorithms are welcome.
- Clone the project from GitHub.
- Open your project in IntelliJ.
- Open the Project Structure menu. (S + ALT + CTRL + SHIFT)
- Enter the Modules subsection.
- Click the green "+" at the top of the window.
- Select Import Module.
- Navigate to the cloned project and double-click on pom.xml.
- Click on the name of your project in the Modules subsection.
- Enter the Dependencies tab of your project.
- Click on the green "+" at the right-edge of the window.
- Click Module Dependency....
- Select VNameGenerator.
You can now use the VNameGenerator in your project.
Examples of each algorithm in-use can be found within the /test/com/valkryst/generator/ folder. These tests aren't documented, but should be simple to understand after reading the JavaDoc documentation within the generator classes located at /src/com/valkryst/generator/ folder.
Lists of names to use with the generators can be found within the /res/ folder.
Names are generated using a set of beginnings, optional set of middles, and a set of endings.
Names are generated using a set of consonants and vowels. A name begins with a vowel which is followed by a consonant which is followed by a vowel... and so on, until the name is generated.
Names are generated using a very crude context free grammar method.
You can learn more about CFGs [here] (http://www.tutorialspoint.com/automata_theory/context_free_grammar_introduction.htm).
An example of how this is used can be found within the /test/com/valkryst/generator/ folder.
Names are generated using a computed table of probabilities to determine which character follows the previous two characters.
You can learn more about Markov Chains here.
Ggis Yamadral
Jalasun Urkest
Obdl Kloraerg
Bofnmar Armabadur
Theobl Buldud
Rafdan Azalthec
Taldhudyr Garkapal
Yrlim Thranduum
Thauk Klorfal
Falold Azdul
Dwl Tudal
Kaggratbk Gahad
Droimfr Moramron
Dogdtvo Lazafal
Delnndre Darmek
Fakas Lazaron
Rtdo Vonbduum
Baalak Magamak
Anamic Theivok
Bazkdrirr Ruknamzak
Bicaim Palakbal
Gnlofr Fadan
Klobyr Argdal
Ulturt Drunaald
Fulhor Vonbal
Vofagh Gursten
Delnnhor Kazaald
Bazkral Raondal
Youyst
Oseito
Ahaont
Eisoes
Iitowa
Owaiea
Ehiere
Engiha
Oalaha
Ahiied
Nalor
Naror
Khalo
Dalor
Noror
Falor
Naloi
Naroi
Loror
Faror
Ìneamhì
Ibhliùs
Ibhia
Iònansa
Blamhìn
Ùsaìdei
Dhalagh
Lìonnua
Rgàilil
Achalai
Imeanna
Athansa
Ìdhalai
Tistìne
Muirigh
Orighri
Seònana
Ghdeitl
Hlidhal
Àrlamin
Leigior
Blaghna