class_docstr: Predictor for the :class:`~allennlp.models.BiaffineDependencyParser` model.
docstr: Expects JSON that looks like ``{"sentence": "..."}``.
docstr_tok: ["Expects","JSON","that","looks","like","``","{","``","sentence","''",":","``","...","''","}","``","."]
code: def _json_to_instance(self, json_dict):
      """
      Expects JSON that looks like ``{"sentence": "..."}``.
      """
      spacy_tokens = self._tokenizer.split_words(json_dict["sentence"])
      sentence_text = [token.text for token in spacy_tokens]
      pos_tags = [token.tag_ for token in spacy_tokens]
      return self._dataset_reader.text_to_instance(
          sentence_text, pos_tags
      )
  
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 3 for calling the BiaffineDependencyParserPredictor obj's underlying member method code with example usage: obj._json_to_instance(json_dict) and returns: self