nltk.bracket_parse()

nltk.bracket_parse(s)[source]

Use Tree.read(s, remove_empty_top_bracketing=True) instead.