RE: jcas to json error

2017-06-06 Thread Kumar, Avanish
Hi Sean, The code was: JsonCasSerializer jcs = new JsonCasSerializer(); jcs.setPrettyPrint(true); // do some configuration StringWriter sw = new StringWriter();

adding analysis engines to pipeline

2017-06-06 Thread Kumar, Avanish
Hi, I want to add smoking status and side effects analysis engines to my pipeline but unable to proceed as it is giving error when I write builder.add(SmokerNamedEntityAnnotation.createAnnotatorDescription()); Thanks and Regards, Avanish

cTakes 3.2.3 dictionary fast lookup issue

2017-06-06 Thread Ks Sunder
Hi Sean, I am using cTake 3.2.3 vesrion Maven dependency for dictionary fast lookup, previously its running properly. But now i am getting this exception how can i reslove this issue please help me. Jun 06, 2017 1:29:21 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING:

jcas to json error

2017-06-06 Thread Kumar, Avanish
Hi, I am trying to get the output in Json. I tried it by doing it like this: But got errors. Can anyone please tell me what is wrong with this code. [cid:image002.png@01D2DEFE.94FB1CB0] [cid:image001.png@01D2DEFE.73B1D760] This e-mail, including attachments, may include confidential and/or

RE: ctakes 4.0.0 YTEX DBConsumer not populating v_document_cui_sent

2017-06-06 Thread Mullane, Sean *HS
Sean, Thanks for the information. It's good to have an alternative to try. I was finally able to make the DBConsumer do what I needed. In case it helps anyone else: The DBConsumer component page on the wiki helped me figure out what to do. The reason the CUIs weren't being written to the

RE: jcas to json error

2017-06-06 Thread Finan, Sean
Hi Avanish, I think that Apache email services do not allow markups, embedded images or attachments. Your images didn't come through for me. Can you paste the code as text? If it is online somewhere public (e.g. github) you can add a link to the repository for people to inspect. Thanks,

RE: adding analysis engines to pipeline

2017-06-06 Thread Finan, Sean
Hi Avanish, For future reference, please provide a snippet of the error when one is thrown or logged. It can really help others and possibly get you a faster and possibly more accurate answer. thanks. The first problem is that SmokerNamedEntityAnnotation is an annotation type and not an