java - guess words using dictionary -
i guessing key of less-simple simple substitution ciphertext. rule evaluate correctness of key number of english words in putative decryption.
are there tools in java can check number of english words in string. example, "thefoitedstateswasat"-> 4 words "thefortedxyzstateswasathat"->5 words.
i loaded words list , using hashset dictionay. dont know inter-word spaces belong in text, can't validate words using simple dictionary.
thanks.
i gave answer similar question here:
it has java-esque pseudocode in might adaptable solves problem.
Comments
Post a Comment