-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
What steps will reproduce the problem?
1.Try to use the function analyzeReport(report, targets, modifiers ) provided
in the wiki page
2.Define report = "Cardiac examination demonstrated regular rate and rhythm, no
murmur, rubs, or gallops.", modifiers =
["DEFINITE_NEGATED_EXISTENCE","probable_existence"], targets = []
3.
What is the expected output? What do you see instead?
File "C:\Documents and Settings\pyConTextNLP\pyConTextGraph\pyConTextGraph.py", line 293, in markItem
if(not self.res.has_key(item.getLiteral()) ):
AttributeError: 'str' object has no attribute 'getLiteral'
What version of the product are you using? On what operating system?
pyConTextNLP-0.3.0
Windows XP
Please provide any additional information below.
Original issue reported on code.google.com by ouyingw...@gmail.com on 22 Mar 2013 at 8:17
Attachments:
Reactions are currently unavailable