class_docstr: Mostly borrowed from <https://github.com/clarkkev/deep-coref/blob/master/evaluation.py>
class_docstr_tok: ["Mostly","borrowed","from","<","https",":","\/\/github.com\/clarkkev\/deep-coref\/blob\/master\/evaluation.py",">"]
code: def get_precision(self):
      if self.precision_numerator == 0:
          return 0
      else:
          return self.precision_numerator / float(
              self.precision_denominator
          )
  
imports: from __future__ import division
  from __future__ import absolute_import
  from collections import Counter
  from sklearn.utils.linear_assignment_ import linear_assignment
  import numpy
  import torch
  from allennlp.training.metrics.metric import Metric
label_desc: Use image node_id 5 for calling the Scorer obj's underlying member method code with example usage: obj.get_precision() and returns: int, unknown