core.metrics

Provides standard metric evaluations for dialog. Uses locking and shared memory when numthreads is set to >1 to share metrics between processes.

parlai.core.metrics.normalize_answer(s)

Lower text and remove punctuation, articles and extra whitespace.

class parlai.core.metrics.Metrics(opt)

Class that maintains evaluation metrics over dialog.