ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james-mas...@apache.org
Subject svn commit: r1527507 - /ctakes/trunk/ctakes-template-filler/desc/analysis_engine/RelationExtractorAggregateWithoutOrangeBook.xml
Date Mon, 30 Sep 2013 10:23:42 GMT
Author: james-masanz
Date: Mon Sep 30 10:23:42 2013
New Revision: 1527507

URL: http://svn.apache.org/r1527507
Log:
CTAKES-245 - fix ClassNotFoundException: EntityMentionPairRelationExtractorAnnotator when
using Template Filler

Modified:
    ctakes/trunk/ctakes-template-filler/desc/analysis_engine/RelationExtractorAggregateWithoutOrangeBook.xml

Modified: ctakes/trunk/ctakes-template-filler/desc/analysis_engine/RelationExtractorAggregateWithoutOrangeBook.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-template-filler/desc/analysis_engine/RelationExtractorAggregateWithoutOrangeBook.xml?rev=1527507&r1=1527506&r2=1527507&view=diff
==============================================================================
--- ctakes/trunk/ctakes-template-filler/desc/analysis_engine/RelationExtractorAggregateWithoutOrangeBook.xml
(original)
+++ ctakes/trunk/ctakes-template-filler/desc/analysis_engine/RelationExtractorAggregateWithoutOrangeBook.xml
Mon Sep 30 10:23:42 2013
@@ -9,25 +9,18 @@
     <delegateAnalysisEngine key="DrugLookupWindowAnnotator">
       <import location="../../../ctakes-drug-ner/desc/analysis_engine/DrugLookupWindowAnnotator.xml"/>
     </delegateAnalysisEngine>
-        <delegateAnalysisEngine key="EntityMentionPairRelationExtractorAnnotator">
+        <delegateAnalysisEngine key="LocationOfRelationExtractorAnnotator">
             <analysisEngineDescription>
                 <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
                 <primitive>true</primitive>
-                <annotatorImplementationName>org.apache.ctakes.relationextractor.ae.EntityMentionPairRelationExtractorAnnotator</annotatorImplementationName>
+                <annotatorImplementationName>org.apache.ctakes.relationextractor.ae.LocationOfRelationExtractorAnnotator</annotatorImplementationName>
                 <analysisEngineMetaData>
-                    <name>EntityMentionPairRelationExtractorAnnotator</name>
+                    <name>LocationOfRelationExtractorAnnotator</name>
                     <description>Descriptor automatically generated by uimaFIT</description>
                     <version>unknown</version>
                     <vendor>org.apache.ctakes.relationextractor.ae</vendor>
                     <configurationParameters>
                         <configurationParameter>
-                            <name>ClassifyBothDirections</name>
-                            <description>run the classifier in both directions, that
is, classify each pair of events {X,Y} once in the order X-to-Y and once in the order Y-to-X
(default: classify each pair of events {X, Y} once, giving the label 'R' if a relation exists
with the order X-to-Y, and 'R-1' if a relation exists with the order Y-to-X)</description>
-                            <type>Boolean</type>
-                            <multiValued>false</multiValued>
-                            <mandatory>false</mandatory>
-                        </configurationParameter>
-                        <configurationParameter>
                             <name>ProbabilityOfKeepingANegativeExample</name>
                             <description>probability that a negative example should
be retained for training</description>
                             <type>Float</type>
@@ -78,19 +71,13 @@
                         <nameValuePair>
                             <name>ProbabilityOfKeepingANegativeExample</name>
                             <value>
-                                <float>0.5</float>
+                                <float>1.0</float>
                             </value>
                         </nameValuePair>
                         <nameValuePair>
                             <name>org.cleartk.classifier.jar.GenericJarClassifierFactory.classifierJarPath</name>
                             <value>
-                                <string>/org/apache/ctakes/relationextractor/models/em_pair/model.jar</string>
-                            </value>
-                        </nameValuePair>
-                        <nameValuePair>
-                            <name>ClassifyBothDirections</name>
-                            <value>
-                                <boolean>false</boolean>
+                                <string>/org/apache/ctakes/relationextractor/models/location_of/model.jar</string>
                             </value>
                         </nameValuePair>
                     </configurationParameterSettings>
@@ -123,6 +110,9 @@
                     <delegateAnalysisEngine key="TokenizerAnnotator">
                         <import location="../../../ctakes-core/desc/analysis_engine/TokenizerAnnotator.xml"/>
                     </delegateAnalysisEngine>
+                    <delegateAnalysisEngine key="ClearNLPAE">
+                        <import location="../../../ctakes-dependency-parser/desc/analysis_engine/ClearNLPDependencyParserAE.xml"/>
+                    </delegateAnalysisEngine>
                     <delegateAnalysisEngine key="ContextDependentTokenizerAnnotator">
                         <import location="../../../ctakes-context-tokenizer/desc/analysis_engine/ContextDependentTokenizerAnnotator.xml"/>
                     </delegateAnalysisEngine>
@@ -153,9 +143,6 @@
                     <delegateAnalysisEngine key="Chunker">
                         <import location="../../../ctakes-chunker/desc/Chunker.xml"/>
                     </delegateAnalysisEngine>
-                    <delegateAnalysisEngine key="ClearNLPAE">
-                        <import location="../../../ctakes-dependency-parser/desc/analysis_engine/ClearNLPDependencyParserAE.xml"/>
-                    </delegateAnalysisEngine>
                     <delegateAnalysisEngine key="DictionaryLookupAnnotatorDB">
                         <import location="../../../ctakes-dictionary-lookup/desc/analysis_engine/DictionaryLookupAnnotatorUMLS.xml"/>
                     </delegateAnalysisEngine>
@@ -462,7 +449,7 @@
                 <node>RelationExtractorPreprocessor</node>
                 <node>ModifierExtractorAnnotator</node>
                 <node>DegreeOfRelationExtractorAnnotator</node>
-                <node>EntityMentionPairRelationExtractorAnnotator</node>
+                <node>LocationOfRelationExtractorAnnotator</node>
             </fixedFlow>
         </flowConstraints>
         <capabilities/>



Mime
View raw message