def get_nonterminal_index_data(self, node, node_ids):
     return (node_ids[node.id].to_int(), node.id, self._edge_label_map.get(node.edge_label, None),
             gorn2db(node.gorn_address),
             (CONTINUOUS if node.is_continuous else DISCONTINUOUS), 
             node.arity, node.token_arity, 
             node_ids[node.left_corner].to_int(), node_ids[node.right_corner].to_int(), 
             node.children_type)
 def get_terminal_index_data(self, node, node_ids):
     return (node_ids[node.id].to_int(), node.id, self._edge_label_map.get(node.edge_label, None),
             gorn2db(node.gorn_address), node.order)