Module Name |
Statistic::EvalTextPerm |
Module Type |
method |
Return Type |
int |
Input Parameters |
Text, Permuation, int (weight), int (maxlength) |
Output Parameters |
|
Exceptions |
|
Modules Called |
|
Calling Modules |
|
Narrative |
Evaluates and returns the dictionary score of Text t that has been decrypted with Permutation p. Scores are assigned based on the number of words and their length that appear in the Text and also in the dictionary. The method uses the weight parameter to give longer greater impact. Words of length less than 4 are ignored. |