Ok, I improved the WP file by removing some of the silly things and adding a few new lines for diversity:
However, more importantly I am going to sugest im more deitail how to go nwhit this.
Those features I actually don't think are very important and might actually only make the program less elegant, I have instead a few suggestions of what I think would improve this. (and I am probably 90% of the user base, including you... could I have the source code?)
Keep to cout and cin for interface for simplexity and weight wile useful sometimes would make files a lot less (in lack of a better word) beautiful.
1)You need to be able to have it write results into files, and in bulk.
2)You need to be able to read from files by name; it is very annoying to change name to have the current used one named wordparts all the time.
2.1) A very convenient way to do this would be to only have to write the first letters and it automatically finds a file beginning like that, so if you had no other files beginning whit W in the directory you could just write 'W' instead of 'wordparts.txt'.
2.2) *minor* you could also have it use more than on file at the same time, just have it add the content.
3) MAJOR NEEDED! translation: use a string as a seed, so that each word results in a specific other word, resulting in translation to a randomly generated language whit words for everything. I m not explaining this very well.
3.1) it reseeds for every word, is not case sensitive (3.1.1; possibly taking the case from the seed word, either first letter, all, or none in caps), ignores special tokens, and so on making it possible to type in an entire sentence or even larger piece of text and getting it translated.
3.2) make it possible to do it all whit files, one "language" file (like wordparts, possibly +seed), one input file to be translated, and one output file were it puts the translated text.
4) while you shuld not make a GUI you could afford to give the interface some thought, one question per command please, and the ability to as stated make that command bulk or about entire files.
Thats all I can think of for now, there are loads more that could be done whit this.