8000 Correferences are now parsed. Offsets are adjusted to account for dum… · imclab/stanford-corenlp-python@10f0304 · GitHub
[go: up one dir, main page]

Skip to content

Commit 10f0304

Browse files
committed
Correferences are now parsed. Offsets are adjusted to account for dummy pronouns in parse_imperative
1 parent 4d3132d commit 10f0304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

corenlp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def parse_imperative(self, text, verbose=True):
251251

252252
# create text with pronoun and parse it
253253
new_text = used_pronoun+" "+text.lstrip()
254-
result = self._debug_parse(new_text, verbose)
254+
result = self._parse(new_text, verbose)
255255

256256
if len(result) != 1:
257257
print "Non-imperative sentence? Multiple sentences found."

0 commit comments

Comments
 (0)
0