8000 isdigit bug · TPNguyen/stanford-corenlp-python@87c8573 · GitHub
[go: up one dir, main page]

Skip to content

Commit 87c8573

Browse files
committed
isdigit bug
1 parent 66bee40 commit 87c8573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def parse_parser_results(text):
6363
split_entry = re.split("\(|, ", line[:-1])
6464
if len(split_entry) == 3:
6565
rel, left, right = map(lambda x: remove_id(x), split_entry)
66-
tmp['tuples'].append(tuple(rel,left,right))
66+
tmp['tuples'].append((rel,left,right))
6767
print "\n", rel, left, right
6868
elif "Coreference links" in line:
6969
state = 5

0 commit comments

Comments
 (0)
0