def load_raw_tree(filename):
    str = open(filename).read()
    return treebank_parser.parse(str)
Пример #2
0
def load_raw_tree(filename):
    str = open(filename).read()
    return treebank_parser.parse(str)
def load_tree_from_string(str):
    return convert_tree(treebank_parser.parse(str))
Пример #4
0
def load_tree_from_string(str):
    return convert_tree(treebank_parser.parse(str))