ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pei Chen <chen...@apache.org>
Subject Re: Retrieving CUIs
Date Tue, 08 Jul 2014 19:49:12 GMT
The logic should follow what James described.  I would write a new
Annotator (or Consumer ) rather than extend DictionaryLookupAnnotator

i.e. run through the complete pipeline, but at the end, iterate through the
IdentifiedAnnotations and get the CUI's from the ontologyConceptArr().




On Tue, Jul 8, 2014 at 3:44 PM, Nick Nikandish <
snikandi@emerginghealthit.com> wrote:

> Hi Chen,
>
> I only need CUI. I tried to extend DictoanryLoopkupAnnotator. Is this a
> writer approach?
>
> Thanks,
> Nick
>
> -----Original Message-----
> From: Pei Chen [mailto:chenpei@apache.org]
> Sent: Tuesday, July 08, 2014 3:42 PM
> To: dev@ctakes.apache.org
> Subject: Re: Retrieving CUIs
>
> Nick,
> It is fairly easy to extend an annotator (either a java class or groovy
> script) to extract just the items for your specific use case.
> Check out the HelloWorldAnnotator and Pipeline from ctakes-examples
> project.  I can write an example that just outputs the CUI if you like, but
> I have a hunch that you may also want other attributes such as (negation?,
> etc.)?
>
>
> On Tue, Jul 8, 2014 at 2:42 PM, Nick Nikandish <
> snikandi@emerginghealthit.com> wrote:
>
> > Hi there,
> >
> > I was wondering if there is any way to retrieve CUIs for the tokens of
> > a free text in CTakes without changing the codebase? I am able to
> > retrieve CUIs for only medications  in a text.
> >
> >
> >
> > Thanks,
> > Nick
> >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message