sub-solver 0.1.2

Solve Substitution Ciphers using a wordlist
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from rouge_score import rouge_scorer

strings = [
    "this is a sentence to test this tool",
    "thus us i sentence to test thus took"
]

for string in strings:
    string = string[0].upper() + string[1:]
    string += "."

scorer = rouge_scorer.RougeScorer(['rouge1', 'rougeL'], use_stemmer=True)
scores = scorer.score(strings[0], strings[1])

print(scores)