class_docstr: A precision / recall / F score.
class_docstr_tok: ["A","precision","\/","recall","\/","F","score","."]
code: def score_set(self, cand: set, gold: set) -> None:
      self.tp += len(cand.intersection(gold))
      self.fp += len(cand - gold)
      self.fn += len(gold - cand)
  
imports: from collections import defaultdict
  from typing import TYPE_CHECKING, Any, Callable, Dict, Iterable, List, Optional, Set, Tuple
  import numpy
  from .errors import Errors
  from .morphology import Morphology
  from .tokens import Doc, Span, Token
  from .training import Example
  from .util import SimpleFrozenList, get_lang_class
label_desc: Use image node_id 5 for calling the PRFScore obj's underlying member method code with example usage: obj.score_set(cand, gold) without return types