From bce3c1b6520dce49e7f01268203c5bf978da1577 Mon Sep 17 00:00:00 2001 From: Bucchino Geoffrey Date: Tue, 5 Jul 2022 21:36:40 +0200 Subject: [PATCH] Todo --- getgrams.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/getgrams.py b/getgrams.py index ed22886..c6f1896 100644 --- a/getgrams.py +++ b/getgrams.py @@ -26,6 +26,8 @@ def readFile(filename): def getLetters(text, pos): # return Counter(text[idx : idx + pos] for idx in range(len(text) - 1)) + ###### TODO + # Sorted by value and to get x data from the dictionary return Counter([text[idx: idx + pos] for idx in range(len(text) - 1)]) if __name__ == "__main__":