nltk.conlltags2tree()

nltk.conlltags2tree(sentence, chunk_types=(u'NP', u'PP', u'VP'), root_label=u'S', strict=False)[source]

Convert the CoNLL IOB format to a tree.