class_docstr: Class for storing lemmas, stems and evaluation metrics.
docstr: Update statistics after lemmas and stems have been set.
docstr_tok: ["Update","statistics","after","lemmas","and","stems","have","been","set","."]
code: def update(self):
      """Update statistics after lemmas and stems have been set."""
      self.gumt, self.gdmt, self.gwmt, self.gdnt = _calculate(
          self.lemmas, self.stems
      )
      self.ui, self.oi, self.sw = _indexes(
          self.gumt, self.gdmt, self.gwmt, self.gdnt
      )
      self.errt = self._errt()
  
file_path: nltk/nltk/metrics/paice.py
imports: from math import sqrt
label_desc: Use image node_id 6 for calling the Paice obj's underlying member method code with example usage: obj.update() without return types