chore: stop calling "internal" methods directly
internal in a way they're not supposed to be called directly
This commit is contained in:
parent
ac3a130c92
commit
77527cb81f
@ -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
|
||||
|
Reference in New Issue
Block a user