You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by "Masanz, James J." <Ma...@mayo.edu> on 2012/11/09 18:30:37 UTC

flow in Relation Extractor Aggregate

The flow in RelationExtractorAggregate.xml (trunk) doesn't look right. I don't see the relation extraction AEs within the flow. Am I missing something?

-- James




RE: flow in Relation Extractor Aggregate

Posted by "Masanz, James J." <Ma...@mayo.edu>.
Thanks Steve. I see that too now. I was just overlooking it before somehow. thanks


> -----Original Message-----
> From: ctakes-dev-return-835-Masanz.James=mayo.edu@incubator.apache.org
> [mailto:ctakes-dev-return-835-
> Masanz.James=mayo.edu@incubator.apache.org] On Behalf Of Steven Bethard
> Sent: Friday, November 09, 2012 1:16 PM
> To: ctakes-dev@incubator.apache.org
> Subject: Re: flow in Relation Extractor Aggregate
> 
> On Nov 9, 2012, at 8:09 PM, "Masanz, James J." <Ma...@mayo.edu>
> wrote:
> > I see this
> >
> >                        <fixedFlow>
> >                            <node>SimpleSegmentAnnotator</node>
> >                            <node>SentenceDetectorAnnotator</node>
> >                            <node>TokenizerAnnotator</node>
> >                            <node>LvgAnnotator</node>
> >
> <node>ContextDependentTokenizerAnnotator</node>
> >                            <node>POSTagger</node>
> >                            <node>ConstituencyParser</node>
> >                            <node>ClearParserAE</node>
> >                            <node>Chunker</node>
> >
> <node>AdjustNounPhraseToIncludeFollowingNP</node>
> >
> <node>AdjustNounPhraseToIncludeFollowingPPNP</node>
> >                            <node>LookupWindowAnnotator</node>
> >                            <node>DictionaryLookupAnnotatorDB</node>
> >                            <node>StatusAnnotator</node>
> >                            <node>NegationAnnotator</node>
> >                            <node>ExtractionPrepAnnotator</node>
> >                        </fixedFlow>
> 
> I see that within the "RelationExtractorPreprocessor" sub-analysis
> engine. But for the overall analysisEngineMetaData I see the flow that I
> posted.
> 
> Steve
> 
> >
> > To double check that my eclipse sync is working OK, I also looked here
> > https://svn.apache.org/repos/asf/incubator/ctakes/trunk/ctakes-relatio
> > n-extractor/desc/analysis_engine/RelationExtractorAggregate.xml
> >
> > -- James
> >
> >> -----Original Message-----
> >> From:
> >> ctakes-dev-return-833-Masanz.James=mayo.edu@incubator.apache.org
> >> [mailto:ctakes-dev-return-833-
> >> Masanz.James=mayo.edu@incubator.apache.org] On Behalf Of Steven
> >> Bethard
> >> Sent: Friday, November 09, 2012 12:28 PM
> >> To: ctakes-dev@incubator.apache.org
> >> Subject: Re: flow in Relation Extractor Aggregate
> >>
> >> On Nov 9, 2012, at 6:30 PM, "Masanz, James J."
> >> <Ma...@mayo.edu>
> >> wrote:
> >>> The flow in RelationExtractorAggregate.xml (trunk) doesn't look
> right.
> >> I don't see the relation extraction AEs within the flow. Am I missing
> >> something?
> >>
> >> I see:
> >>
> >>            <fixedFlow>
> >>                <node>RelationExtractorPreprocessor</node>
> >>
> >> <node>org.apache.ctakes.relationextractor.ae.ModifierExtractorAnnotat
> >> or<
> >> /node>
> >>
> >> <node>org.apache.ctakes.relationextractor.ae.DegreeOfRelationExtracto
> >> rAn
> >> notator</node>
> >>
> >> <node>org.apache.ctakes.relationextractor.ae.EntityMentionPairRelatio
> >> nEx
> >> tractorAnnotator</node>
> >>            </fixedFlow>
> >>
> >> Is that not what you see?
> >>
> >> Steve
> >>
> >> P.S. There's a test for the Modifier, DegreeOf and EntityMentionPair
> >> descriptors, but I didn't know how to write a test for the
> >> RelationExtractorAggregate descriptor given that you need a UMLS name
> >> and password to be supplied and Jenkins won't know how to do that.


Re: flow in Relation Extractor Aggregate

Posted by Steven Bethard <st...@Colorado.EDU>.
On Nov 9, 2012, at 8:09 PM, "Masanz, James J." <Ma...@mayo.edu> wrote:
> I see this
> 
>                        <fixedFlow>
>                            <node>SimpleSegmentAnnotator</node>
>                            <node>SentenceDetectorAnnotator</node>
>                            <node>TokenizerAnnotator</node>
>                            <node>LvgAnnotator</node>
>                            <node>ContextDependentTokenizerAnnotator</node>
>                            <node>POSTagger</node>
>                            <node>ConstituencyParser</node>
>                            <node>ClearParserAE</node>
>                            <node>Chunker</node>
>                            <node>AdjustNounPhraseToIncludeFollowingNP</node>
>                            <node>AdjustNounPhraseToIncludeFollowingPPNP</node>
>                            <node>LookupWindowAnnotator</node>
>                            <node>DictionaryLookupAnnotatorDB</node>
>                            <node>StatusAnnotator</node>
>                            <node>NegationAnnotator</node>
>                            <node>ExtractionPrepAnnotator</node>
>                        </fixedFlow>

I see that within the "RelationExtractorPreprocessor" sub-analysis engine. But for the overall analysisEngineMetaData I see the flow that I posted.

Steve

> 
> To double check that my eclipse sync is working OK, I also looked here
> https://svn.apache.org/repos/asf/incubator/ctakes/trunk/ctakes-relation-extractor/desc/analysis_engine/RelationExtractorAggregate.xml
> 
> -- James
> 
>> -----Original Message-----
>> From: ctakes-dev-return-833-Masanz.James=mayo.edu@incubator.apache.org
>> [mailto:ctakes-dev-return-833-
>> Masanz.James=mayo.edu@incubator.apache.org] On Behalf Of Steven Bethard
>> Sent: Friday, November 09, 2012 12:28 PM
>> To: ctakes-dev@incubator.apache.org
>> Subject: Re: flow in Relation Extractor Aggregate
>> 
>> On Nov 9, 2012, at 6:30 PM, "Masanz, James J." <Ma...@mayo.edu>
>> wrote:
>>> The flow in RelationExtractorAggregate.xml (trunk) doesn't look right.
>> I don't see the relation extraction AEs within the flow. Am I missing
>> something?
>> 
>> I see:
>> 
>>            <fixedFlow>
>>                <node>RelationExtractorPreprocessor</node>
>> 
>> <node>org.apache.ctakes.relationextractor.ae.ModifierExtractorAnnotator<
>> /node>
>> 
>> <node>org.apache.ctakes.relationextractor.ae.DegreeOfRelationExtractorAn
>> notator</node>
>> 
>> <node>org.apache.ctakes.relationextractor.ae.EntityMentionPairRelationEx
>> tractorAnnotator</node>
>>            </fixedFlow>
>> 
>> Is that not what you see?
>> 
>> Steve
>> 
>> P.S. There's a test for the Modifier, DegreeOf and EntityMentionPair
>> descriptors, but I didn't know how to write a test for the
>> RelationExtractorAggregate descriptor given that you need a UMLS name
>> and password to be supplied and Jenkins won't know how to do that.


RE: flow in Relation Extractor Aggregate

Posted by "Masanz, James J." <Ma...@mayo.edu>.
I see this

                        <fixedFlow>
                            <node>SimpleSegmentAnnotator</node>
                            <node>SentenceDetectorAnnotator</node>
                            <node>TokenizerAnnotator</node>
                            <node>LvgAnnotator</node>
                            <node>ContextDependentTokenizerAnnotator</node>
                            <node>POSTagger</node>
                            <node>ConstituencyParser</node>
                            <node>ClearParserAE</node>
                            <node>Chunker</node>
                            <node>AdjustNounPhraseToIncludeFollowingNP</node>
                            <node>AdjustNounPhraseToIncludeFollowingPPNP</node>
                            <node>LookupWindowAnnotator</node>
                            <node>DictionaryLookupAnnotatorDB</node>
                            <node>StatusAnnotator</node>
                            <node>NegationAnnotator</node>
                            <node>ExtractionPrepAnnotator</node>
                        </fixedFlow>

To double check that my eclipse sync is working OK, I also looked here
https://svn.apache.org/repos/asf/incubator/ctakes/trunk/ctakes-relation-extractor/desc/analysis_engine/RelationExtractorAggregate.xml

-- James

> -----Original Message-----
> From: ctakes-dev-return-833-Masanz.James=mayo.edu@incubator.apache.org
> [mailto:ctakes-dev-return-833-
> Masanz.James=mayo.edu@incubator.apache.org] On Behalf Of Steven Bethard
> Sent: Friday, November 09, 2012 12:28 PM
> To: ctakes-dev@incubator.apache.org
> Subject: Re: flow in Relation Extractor Aggregate
> 
> On Nov 9, 2012, at 6:30 PM, "Masanz, James J." <Ma...@mayo.edu>
> wrote:
> > The flow in RelationExtractorAggregate.xml (trunk) doesn't look right.
> I don't see the relation extraction AEs within the flow. Am I missing
> something?
> 
> I see:
> 
>             <fixedFlow>
>                 <node>RelationExtractorPreprocessor</node>
> 
> <node>org.apache.ctakes.relationextractor.ae.ModifierExtractorAnnotator<
> /node>
> 
> <node>org.apache.ctakes.relationextractor.ae.DegreeOfRelationExtractorAn
> notator</node>
> 
> <node>org.apache.ctakes.relationextractor.ae.EntityMentionPairRelationEx
> tractorAnnotator</node>
>             </fixedFlow>
> 
> Is that not what you see?
> 
> Steve
> 
> P.S. There's a test for the Modifier, DegreeOf and EntityMentionPair
> descriptors, but I didn't know how to write a test for the
> RelationExtractorAggregate descriptor given that you need a UMLS name
> and password to be supplied and Jenkins won't know how to do that.

Re: flow in Relation Extractor Aggregate

Posted by Steven Bethard <st...@Colorado.EDU>.
On Nov 9, 2012, at 6:30 PM, "Masanz, James J." <Ma...@mayo.edu> wrote:
> The flow in RelationExtractorAggregate.xml (trunk) doesn't look right. I don't see the relation extraction AEs within the flow. Am I missing something?

I see:

            <fixedFlow>
                <node>RelationExtractorPreprocessor</node>
                <node>org.apache.ctakes.relationextractor.ae.ModifierExtractorAnnotator</node>
                <node>org.apache.ctakes.relationextractor.ae.DegreeOfRelationExtractorAnnotator</node>
                <node>org.apache.ctakes.relationextractor.ae.EntityMentionPairRelationExtractorAnnotator</node>
            </fixedFlow>

Is that not what you see?

Steve

P.S. There's a test for the Modifier, DegreeOf and EntityMentionPair descriptors, but I didn't know how to write a test for the RelationExtractorAggregate descriptor given that you need a UMLS name and password to be supplied and Jenkins won't know how to do that.