Question

I am working on a Java deobfuscation tool and one of the features I plan to implement is to automatically rename classes and methods with more memorable names. My plan is have a text file with a couple hundred possible names based on random distinctive English words. However, I am not sure where to get such a list.

I came across this which does the same thing for Perl. However, it is not clear what dictionary it is using.

Does anyone have suggestions on the best way to obtain such a list? Ideally the words would all be distinctive and memorable and not clash with common programming keywords or terminology.

Was it helpful?

Solution

If you are on unix you can try:

cat /usr/share/dict/words > words.txt

Else there is this link

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top