Commits

dustin smith  committed f3653f7

remove_id added

  • Participants
  • Parent commits eeda267

Comments (0)

Files changed (1)

             if not line.startswith(" ") and line.endswith(")"):
                 split_entry = re.split("\(|, ", line[:-1]) 
                 if len(split_entry) == 3:
-                    rel, left, right = map(lambda x: x, split_entry)
+                    rel, left, right = map(lambda x: remove_id(x), split_entry)
                     tmp['tuples'].append(tuple([rel,left,right]))
             elif "Coreference links" in line:
                 state = 5