class_docstr: Class for syntax parsing using Slovnet library
class_docstr_tok: ["Class","for","syntax","parsing","using","Slovnet","library"]
code: def get_elements(self, markup_elem):
      ids, words, head_ids, rels = [], [], [], []
      for elem in markup_elem:
          ids.append(elem["id"])
          words.append(elem["text"])
          head_ids.append(elem["head_id"])
          rels.append(elem["rel"])
      return ids, words, head_ids, rels
  
imports: import copy
  import re
  from collections import defaultdict
  from io import StringIO
  from logging import getLogger
  from typing import Any, List, Tuple, Dict, Union
  import spacy
  from navec import Navec
  from razdel import tokenize
  from slovnet import Syntax
  from udapi.block.read.conllu import Conllu
  from udapi.core.node import Node
  from deeppavlov.core.commands.utils import expand_path
  from deeppavlov.core.common.file import read_json
  from deeppavlov.core.common.registry import register
  from deeppavlov.core.models.component import Component
  from deeppavlov.core.models.serializable import Serializable
  from deeppavlov.models.kbqa.ru_adj_to_noun import RuAdjToNoun
  from deeppavlov.models.kbqa.utils import preprocess_template_queries
label_desc: Use image node_id 9 for calling the SlovnetSyntaxParser obj's underlying member method code with example usage: obj.get_elements(markup_elem) and returns: ids,  words,  head_ids,  rels