Ok, that's first version of my NameGenerator:
no menu
some uncaught exceptions
ignored probability of character's occurrence
bad endings
This version considers probabilities, but decreased output quality. In future versions there won't be probabilities, and as a result code will become easier.
forgot this file
It's done.
Yes, it's not ideal, but it works! And it has menu, and word endings sounds better.
Update 1: deleted menu, using cmd line args instead. Parser - args4j
Updated code, thank you @danpetruk from hashcode.ru