ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Finan, Sean" <Sean.Fi...@childrens.harvard.edu>
Subject Re: DefaultFastPipeline.piper and LVG Annotator [EXTERNAL]
Date Tue, 19 Feb 2019 17:12:29 GMT
Hi Jeff,

The short answer: No, LVG is not in the pipeline created by the DefaultFastPipeline.piper

Longer answer:
In older versions of dictionary lookup the Lexical Variant Generator module (LVG) was recommended
to capture lexical variants of terms.  However, the dictionary resource already contains variants
so the LVG module should not make much of a difference. When the fast lookup was new several
years ago I ran a test with and without LVG on two datasets and the difference was along the
lines of +1-2% recall, -1% precision.  

I think that ClinicalPipelineFactory.getFastPipeline() was a copy-paste of the previous .getClinicalPipeline()
but with the dictionary module replaced.  So, LVG is still in that method -created pipeline.

When I (more recently) wrote that piper file that you reference I left out LVG as the added
burden didn't seem to warrant its presence.  When I say burden I don't just mean speed decrease
and memory footprint.  There have been a lot of configuration problems with LVG on various
systems which led to difficulty using ctakes.

The diagram that you reference places LVG after the dictionary lookup, and after the part
of speech tagger, while the page on lvg https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+4.0+-+LVG
lists those as the two modules that may benefit from its presence.  That diagram is very old
and should definitely be updated.  Both the diagram and the page on lvg include information
that precedes (does not account for) the existence of the fast dictionary lookup.


From: Jeffrey Miller <jeffmax@gmail.com>
Sent: Tuesday, February 19, 2019 10:53 AM
To: dev@ctakes.apache.org
Subject: DefaultFastPipeline.piper and LVG Annotator [EXTERNAL]


I was wondering if the LVG Annotator is included DefaultFastPipeline.piper
I have tried to trace through all the includes, but I cannot find it.
However, when I look at the code for the
ClinicalPipelineFactory.getFastPipeline() it seems to be included.
documentation in this flow diagram
the components documentation page
it seems to be a recommended component for the dictionary annotator.

Thanks for your help,

View raw message