class_docstr: Class for transition based parser. Implement 2 algorithms which are "arc-standard" and "arc-eager"
code: def _get_dep_relation(self, idx_parent, idx_child, depgraph):
      p_node = depgraph.nodes[idx_parent]
      c_node = depgraph.nodes[idx_child]
  
      if c_node["word"] is None:
          return None  # Root word
  
      if c_node["head"] == p_node["address"]:
          return c_node["rel"]
      else:
          return None
  
imports: import pickle
  import tempfile
  from copy import deepcopy
  from operator import itemgetter
  from os import remove
  from nltk.parse import DependencyEvaluator, DependencyGraph, ParserI
label_desc: Use image node_id 2 for calling the TransitionParser obj's underlying member method code with example usage: obj._get_dep_relation(idx_parent, idx_child, depgraph) and returns: None, c_node, None