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))