def _print_tagged_srl(tagged_sents):
    for sent in tagged_sents:
        print(' '.join(sent.tokens).encode('utf-8'))
        for predicate, arg_structure in sent.arg_structures:
            print(predicate.encode('utf-8'))
            for label in arg_structure:
                argument = ' '.join(arg_structure[label])
                line = '\t%s: %s' % (label, argument)
                print(line.encode('utf-8'))
        print
dataset/ETHPy150Open erickrf/nlpnet/bin/nlpnet-tag.py/_print_tagged_srl/original