Skip to content

how to use pyConTextNLP #4

Description

@GoogleCodeExporter
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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions