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__":