INNER CODE UNIT · Python
Rake
vgrabovets/multi_rake · multi_rake/algorithm.py:12
class Rake:
def __init__(
self,
min_chars=3,
max_words=3,
min_freq=1,
language_code=None,
stopwords=None,
lang_detect_threshold=50,
max_words_unknown_lang=2,
generated_stopwords_percentile=80,
generated_stopwords_max_len=3,
generated_stopwords_min_freq=2,
):
self.min_chars = min_chars
self.max_words = max_words
self.min_freq = min_freq
self.lang_detect_threshold = lang_detect_threshold