alessandropec

Results 2 issues of alessandropec

This metrics compute the UniqueGrams respect to a reference text, can be useful to evaluate model that can generate text over the corpus in which the model was trained. This...

I think there is an error inside the class unique ngram, the right computation of ngram should be #unique_grams/#grams ``` def get_ng(self): document = self.get_reference() length = len(document) #is this...