示例#1
0
 def build_metric(self, **kwargs):
     return MetricDict({
         'lemmas': CategoricalAccuracy(),
         'upos': CategoricalAccuracy(),
         'deps': AttachmentScore(),
         'feats': CategoricalAccuracy(),
     })
示例#2
0
 def build_metric(self, **kwargs):
     return AttachmentScore()