Commits

Riccardo Angius committed e93ec76

Additional dict of dependencies that keeps the original indexing of words

Comments (0)

Files changed (1)

corenlp/corenlp.py

                 if len(split_entry) == 3:
                     rel, left, right = map(lambda x: remove_id(x), split_entry)
                     sentence['dependencies'].append(tuple([rel, left, right]))
-
                     sentence['indexeddependencies'].append(tuple(split_entry))
 
         elif state == STATE_COREFERENCE: