Ctakes Null Pointer Error for org.apache.ctakes.dependency.parser.util.DependencyUtility

2015-03-27 Thread Pham, Hoang
Hi All, I am trying to add my own dictionary to cTakes. I have added a lucene index for the dictionary, but when the index is added, I would receive a null pointer exception for the org.apache.ctakes.dependency.parser.util.DependencyUtility class. The stack trace is:

Re: Ctakes Null Pointer Error for org.apache.ctakes.dependency.parser.util.DependencyUtility

2015-03-27 Thread Miller, Timothy
Hi Hoang, Can you let me know what version of cTAKES you're using? I looked in that location in trunk and found a null check, so it could be that it's a bug that's been fixed already. In the meantime, if you just want to see if your dictionary is working right, you could disable the

RE: Ctakes Null Pointer Error for org.apache.ctakes.dependency.parser.util.DependencyUtility

2015-03-27 Thread Pham, Hoang
To Tomothy, I have cTakes 3.0 install. I looked at the class and there is a null check but for some reason, it is not catching. Also, when I use the indexes that came with cTakes install, the program would parse without any errors. Thank You, Hoang Pham -Original Message- From:

RE: Ctakes Null Pointer Error for org.apache.ctakes.dependency.parser.util.DependencyUtility

2015-03-27 Thread Pham, Hoang
To Timothy, Sorry, I misspell your name before. Thank You, Hoang Pham -Original Message- From: Pham, Hoang [mailto:hp...@tuftsmedicalcenter.org] Sent: Fri 3/27/2015 1:38 PM To: dev@ctakes.apache.org Subject: RE: Ctakes Null Pointer Error for

Re: Ctakes Null Pointer Error for org.apache.ctakes.dependency.parser.util.DependencyUtility

2015-03-27 Thread Yingcheng Sun
Dear all, Do you know how to generate CUIs by programming, not using GUI. It will be better if you can show me the code. Thank you! Yingcheng On Fri, Mar 27, 2015 at 9:38 AM, Miller, Timothy timothy.mil...@childrens.harvard.edu wrote: Hi Hoang, Can you let me know what version of cTAKES

Finding Cuis with API

2015-03-27 Thread Miller, Timothy
I'm starting a new thread for this topic since it seems unrelated to the one you replied to. Check BagOfCuisGenerator, here's what it looks like in trunk:

Re: Ctakes Null Pointer Error for org.apache.ctakes.dependency.parser.util.DependencyUtility

2015-03-27 Thread Michelle Chen
Another way that you can see it is if you look at the ClinicalPipelineFactory.java in the ctakes-clinical-pipeline/ folder. There is a method called getCUIsthat will allow you to get CUIs from the Identified Annotations. Sincerely, Michelle Chen :) Be strong and of good courage; do not be

Re: Ctakes Null Pointer Error for org.apache.ctakes.dependency.parser.util.DependencyUtility

2015-03-27 Thread Maite Meseure Hugues
Dear Yingcheng Sun, You can use BagOfCuisGenerator.java . On Fri, Mar 27, 2015 at 10:48 AM, Yingcheng Sun yxs...@case.edu wrote: Dear all, Do you know how to generate CUIs by programming, not using GUI. It will be better if you can show me the code. Thank you! Yingcheng On Fri, Mar

RE: ctakessorx for AggregatePlaintextFastUMLSProcessor.xml

2015-03-27 Thread Finan, Sean
Maite, You already have a thread going with me offline. If you have a question please ask it on that thread to refrain from spamming the devlist. Until I have a chance to create decent documentation you are stuck with me. Sean From: Maite Meseure

ctakessorx for AggregatePlaintextFastUMLSProcessor.xml

2015-03-27 Thread Maite Meseure Hugues
Hi everyone, I am currently using AggregatePlaintextFastUMLSProcessor.xml and trying to use my own dictionary. I would like to understand ctakessnorx script file, how it's made etc, I didn't find any info. Thank you. -- -- Maïté Meseure Hugues

Re: Ctakes Null Pointer Error for org.apache.ctakes.dependency.parser.util.DependencyUtility

2015-03-27 Thread Pei Chen
Hoang, 3.0 was released a long time ago (02/2013). (according to the tag/history, it did't have the null fix until 6/2013 3.1?)

Re: Ctakes Null Pointer Error for org.apache.ctakes.dependency.parser.util.DependencyUtility

2015-03-27 Thread Miller, Timothy
Yes, there is a null check near it but in a different method. I'm a little confused though because his line numbers do align with the most current version. Anyways, Hoang, here are your options: 1) If you have the src distribution you can insert a null check yourself based on the one in trunk and

RE: Ctakes Null Pointer Error for org.apache.ctakes.dependency.parser.util.DependencyUtility

2015-03-27 Thread Pham, Hoang
To Pei, Sorry, I was checking the wring folder. I'm actually using 3.2.1 dependecy-parser jar file. Thank You, Hoang Pham -Original Message- From: Pei Chen [mailto:chen...@apache.org] Sent: Fri 3/27/2015 2:12 PM To: dev@ctakes.apache.org Subject: Re: Ctakes Null Pointer Error for