From 77527cb81fe1bbe8e33f8df457c9a4e22516d0dd Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 20 Dec 2021 04:23:35 +0100 Subject: [PATCH] chore: stop calling "internal" methods directly internal in a way they're not supposed to be called directly --- da_detector.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/da_detector.py b/da_detector.py index 0bfbcea..2d8b8b6 100755 --- a/da_detector.py +++ b/da_detector.py @@ -156,19 +156,5 @@ freqs_folder = "./freqs/" test_str = "what freaking ever, nobody cares one bit of a heck" detector = da_detector() -detector.pick_ngrams( - what_grams=3, - how_many=10, - text=test_str) -detector.pick_ngrams( - what_grams=2, - how_many=10, - text=test_str) - -sk_json = detector.parse_freqs("sk.json") -cz_json = detector.parse_freqs("cz.json") -de_json = detector.parse_freqs("de.json") -en_json = detector.parse_freqs("en.json") -fr_json = detector.parse_freqs("fr.json") # vim: ff=unix noexpandtab