1. Hiroyoshi Komatsu
  2. corenlp-python

Commits

dustin smith  committed 10f0304

Correferences are now parsed. Offsets are adjusted to account for dummy pronouns in parse_imperative

  • Participants
  • Parent commits 4d3132d
  • Branches master

Comments (0)

Files changed (1)

File corenlp.py

View file
  • Ignore whitespace
   
         # create text with pronoun and parse it
         new_text = used_pronoun+" "+text.lstrip()
-        result = self._debug_parse(new_text, verbose)
+        result = self._parse(new_text, verbose)
         
         if len(result) != 1:
             print "Non-imperative sentence?  Multiple sentences found."