INNER CODE UNIT · Python
unwrapped
vacancy/SceneGraphParser · sng_parser/parser.py:57
def unwrapped(self):
"""
Get the backend.
"""
return self._inst
def parse(self, sentence, **kwargs):
"""
Parse a sentence into a scene graph.
Args:
sentence (str): the input sentence.
Returns:
graph (dict): the parsed scene graph. Please refer to the
README file for the specification of the return value.
"""
return self.unwrapped.parse(sentence, **kwargs)