(doc, light=False)
return [POS_tree_(sent.root, light=light) for sent in doc.sents]
generate the POS tree for all sentences in a doc
generate the POS tree for all sentences in a doc
generate the POS tree for all sentences in a doc
def parse_tree(doc, light=False):
    '''generate the POS tree for all sentences in a doc'''
    merge_ents(doc)  # merge the entities into single tokens first
    return [POS_tree_(sent.root, light=light) for sent in doc.sents]
def parse_tree ( doc , light = False ) : merge_ents ( doc ) # merge the entities into single tokens first return [ POS_tree_ ( sent . root , light = light ) for sent in doc . sents ]