class_docstr: A class to perform joint morphological and syntactic parsing.
  It is just a wrapper that calls the models for tagging and parsing
  and comprises their results in a single output.
  Args:
      tagger: the morphological tagger model (a :class:`~deeppavlov.core.common.chainer.Chainer` instance)
      parser_path: the syntactic parser model (a :class:`~deeppavlov.core.common.chainer.Chainer` instance)
      output_format: the output format, it may be either `ud` (alias: `conllu`) or `json`.
  Attributes:
      tagger: a morphological tagger model (a :class:`~deeppavlov.core.common.chainer.Chainer` instance)
      parser: a syntactic parser model (a :class:`~deeppavlov.core.common.chainer.Chainer` instance)
code: def __init__(
      self,
      tagger: Chainer,
      parser: Chainer,
      output_format: str = "ud",
      *args,
      **kwargs,
  ):
      if output_format not in ["ud", "conllu", "json", "dict"]:
          UserWarning(
              "JointTaggerParser output_format can be only `ud`, `conllu` or `json`. "
              "Unknown format: {}, setting the output_format to `ud`.".format(
                  output_format
              )
          )
          output_format = "ud"
      self.output_format = output_format
      self.tagger = tagger
      self.parser = parser
  
imports: from typing import Union, List
  from deeppavlov.core.common.chainer import Chainer
  from deeppavlov.core.common.registry import register
  from deeppavlov.core.models.component import Component
label_desc: Use image node_id 1 to create a new JointTaggerParser object from inherited base classes: Component with example: obj = JointTaggerParser(tagger, parser, output_format)