Hello Pei, With the help of your example I have successfully been to annotate the text with medication/diseases. Thanks!
Regards, Snehal On Tue, Jul 9, 2013 at 10:30 AM, Snehal <[email protected]> wrote: > Hi Pei, > > Thanks for the reply. What window annotation do you think would > suffice for just identifying the presence of disease/drug or > medication keywords? I see that there are Sentence, Segment, Paragraph > and LookupWindowAnnotation. > > Also, I can't find CopyNPChunksToLookupWindowAnnotations class in > ctakes 3.0.1. Is this added only in 3.1? > > Regards, > Snehal > > On Tue, Jul 9, 2013 at 8:07 AM, Chen, Pei > <[email protected]> wrote: >> Hi Snehal, >> >>> -----Original Message----- >>> From: Snehal [mailto:[email protected]] >>> Sent: Tuesday, July 09, 2013 11:00 AM >>> To: user >>> Subject: Re: Help configuring ctakes for disease/medication Annotation >>> detection >>> Does ctakes require all the different components such as Chunker,POS >>> tagger etc; for identifying this? >> >> The short answer is yes. The longer answer is that the test case desc is >> configured to use the below Type to constrain the lookup window (which is >> essentially constrained to Noun Phrases hence the prerequisites). >> <property key="windowAnnotations" >> value="org.apache.ctakes.typesystem.type.textspan.LookupWindowAnnotation"/> >> [Of course, that can be modified/configured for your use case(s).] >> >> --Pei >> >>
