class_docstr: Predictor for the :class:`~allennlp.models.BiaffineDependencyParser` model.
code: def predict_batch_instance(self, instances):
      outputs = self._model.forward_on_instances(instances)
      for output in outputs:
          words = output["words"]
          pos = output["pos"]
          heads = output["predicted_heads"]
          tags = output["predicted_dependencies"]
          output["hierplane_tree"] = self._build_hierplane_tree(
              words, heads, tags, pos
          )
      return sanitize(outputs)
  
file_path: magnitude/pymagnitude/third_party/allennlp/predictors/biaffine_dependency_parser.py
imports: from __future__ import absolute_import
  from allennlp.common.util import JsonDict, sanitize
  from allennlp.data import DatasetReader, Instance
  from allennlp.models import Model
  from allennlp.predictors.predictor import Predictor
  from allennlp.data.tokenizers.word_splitter import SpacyWordSplitter
label_desc: Use image node_id 5 for calling the BiaffineDependencyParserPredictor obj's underlying member method code with example usage: obj.predict_batch_instance(instances) and returns: sanitize