nltk.Paice.__init__¶
-
Paice.
__init__
(lemmas, stems)[source]¶ Parameters: lemmas – A dictionary where keys are lemmas and values are sets or lists of words corresponding to that lemma. :param stems: A dictionary where keys are stems and values are sets or lists of words corresponding to that stem. :type lemmas: dict(str): list(str) :type stems: dict(str): set(str)