CyberMD / pyContextNLP

Automatically exported from code.google.com/p/negex
0 stars 0 forks source link

Preprocessing input files #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
When I try to run my notes for negation detection, I get this error message - 
Traceback (most recent call last):
  File "C:\Users....\Negex\wrapper.py", line 30, in <module>
    if __name__ == '__main__': main()
  File "C:\Users.... \Negex\wrapper.py", line 16, in main
    tagger = negTagger(sentence = report[2], phrases = [report[1]], rules = irules, negP=False)
IndexError: list index out of range
>>> 

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
General NegEx Python Implementation v.1.2
On Windows XP

Please provide any additional information below.
I processed the input file to match the demo input

Original issue reported on code.google.com by cellohar...@gmail.com on 5 Mar 2012 at 3:28