A simple dictionary generator in C++ with the aim of making it very efficient. For example, the dictionary composed of letters {"A", "B", "C"}
and the parameter wordsLength
set to 2, will return: {"A", "AA", "AB", "AC", "B", "BA", "BB", "BC", "C", "CA", "CB", "CC"}
.
Run the program in order to create config.json
.
{
"dictionary" : ["A", "B", "C"],
"logLevel" : 2,
"output" : {
"directory" : "output/",
"enable" : true,
"wordsBeforeSplittingFiles" : 10000000
},
"secretWord" : "Super",
"statsEnabled" : true,
"wordsLength" : 2
}
- Speed improvements (multi-threading, improve code)
- More settings (on words length, priority system)