ctakes-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sai Anuroop <sai.anur...@abzooba.com>
Subject Re: Running cTAKES through Java
Date Thu, 02 Jul 2015 08:22:21 GMT
Hi Jeff,

When i am trying to run the above code it runs fine till the line


*cas.setDocumentText(ReadFile.readFile(files[i].toString()));*

i came to know this by printing the text used by cas using
cas.getDocumentText().

But later I do not know exactly what is happening but 'iter' appears to be
empty because iter.hasNext() is false at the first attempt only.

Please can anyone explain where could be the problem?

I am using 'AggregatePlaintextUMLSProcessor' for the type
'org.apache.ctakes.typesystem.type.textsem.DiseaseDisorderMention'


Regards,

Vetsa Sai Anuroop

Mime
View raw message