INNER CODE UNIT · Python

parse

vacancy/SceneGraphParser · sng_parser/parser.py:117

def parse(sentence, **kwargs):
    """
    Parse the sentence using the default parser. This ia an easy-to-use
    feature for those who do not want to configure their own parsers
    and want to use the parser at different places in their codes.

    Please note that the default parser is a singleton. Thus,
    if you are using a stateful parser, you need to be careful about sharing
    this parser everywhere.
    """
    return get_default_parser().parse(sentence, **kwargs)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…