nltk.Paice

class nltk.Paice(lemmas, stems)[source]

Class for storing lemmas, stems and evaluation metrics.

Methods

__init__(lemmas, stems)
param lemmas:A dictionary where keys are lemmas and values are sets
update() Update statistics after lemmas and stems have been set.