class_docstr: Predictor for any model that takes in a sentence and returns
  a single set of tags for it.  In particular, it can be used with
  the :class:`~allennlp.models.crf_tagger.CrfTagger` model
  and also
  the :class:`~allennlp.models.simple_tagger.SimpleTagger` model.
code: def predict(self, sentence):
      return self.predict_json({"sentence": sentence})
  
file_path: magnitude/pymagnitude/third_party/allennlp/predictors/sentence_tagger.py
imports: from __future__ import absolute_import
  from allennlp.common.util import JsonDict
  from allennlp.data import DatasetReader, Instance
  from allennlp.data.tokenizers.word_splitter import SpacyWordSplitter
  from allennlp.models import Model
  from allennlp.predictors.predictor import Predictor
label_desc: Use image node_id 2 for calling the SentenceTaggerPredictor obj's underlying member method code with example usage: obj.predict(sentence) and returns: self