ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1602274 - in /ctakes/trunk: ctakes-chunker/desc/Chunker.xml ctakes-dependency-parser/desc/analysis_engine/ClearNLPDependencyParserPlaintextAggregate.xml
Date Thu, 12 Jun 2014 19:28:32 GMT
Author: chenpei
Date: Thu Jun 12 19:28:31 2014
New Revision: 1602274

URL: http://svn.apache.org/r1602274
Log:
CTAKES-295 - Use UIMAFit-style configuration annotations
Removing the duplicate external resource dependency for the chunker. 
Having the file: will force resources to be unpacked file form. The code is already set to
read it from classpath so this is just duplicated config parameter.  

Modified:
    ctakes/trunk/ctakes-chunker/desc/Chunker.xml
    ctakes/trunk/ctakes-dependency-parser/desc/analysis_engine/ClearNLPDependencyParserPlaintextAggregate.xml

Modified: ctakes/trunk/ctakes-chunker/desc/Chunker.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-chunker/desc/Chunker.xml?rev=1602274&r1=1602273&r2=1602274&view=diff
==============================================================================
--- ctakes/trunk/ctakes-chunker/desc/Chunker.xml (original)
+++ ctakes/trunk/ctakes-chunker/desc/Chunker.xml Thu Jun 12 19:28:31 2014
@@ -77,33 +77,4 @@
 			<outputsNewCASes>false</outputsNewCASes>
 		</operationalProperties>
 	</analysisEngineMetaData>
-	<externalResourceDependencies>
-		<externalResourceDependency>
-			<key>ChunkerModel</key>
-			<description>The MaxEnt model used by the chunker</description>
-			<interfaceName>org.apache.ctakes.core.resource.FileResource
-			</interfaceName>
-			<optional>false</optional>
-		</externalResourceDependency>
-	</externalResourceDependencies>
-	<resourceManagerConfiguration>
-		<externalResources>
-			<externalResource>
-				<name>ChunkerModelFile</name>
-				<description></description>
-				<fileResourceSpecifier>
-					<fileUrl>file:org/apache/ctakes/chunker/models/chunker-model.zip
-					</fileUrl>
-				</fileResourceSpecifier>
-				<implementationName>org.apache.ctakes.core.resource.FileResourceImpl
-				</implementationName>
-			</externalResource>
-		</externalResources>
-		<externalResourceBindings>
-			<externalResourceBinding>
-				<key>ChunkerModel</key>
-				<resourceName>ChunkerModelFile</resourceName>
-			</externalResourceBinding>
-		</externalResourceBindings>
-	</resourceManagerConfiguration>
 </analysisEngineDescription>

Modified: ctakes/trunk/ctakes-dependency-parser/desc/analysis_engine/ClearNLPDependencyParserPlaintextAggregate.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dependency-parser/desc/analysis_engine/ClearNLPDependencyParserPlaintextAggregate.xml?rev=1602274&r1=1602273&r2=1602274&view=diff
==============================================================================
--- ctakes/trunk/ctakes-dependency-parser/desc/analysis_engine/ClearNLPDependencyParserPlaintextAggregate.xml
(original)
+++ ctakes/trunk/ctakes-dependency-parser/desc/analysis_engine/ClearNLPDependencyParserPlaintextAggregate.xml
Thu Jun 12 19:28:31 2014
@@ -633,32 +633,6 @@
                         <outputsNewCASes>false</outputsNewCASes>
                     </operationalProperties>
                 </analysisEngineMetaData>
-                <externalResourceDependencies>
-                    <externalResourceDependency>
-                        <key>ChunkerModel</key>
-                        <description>The MaxEnt model used by the chunker</description>
-                        <interfaceName>org.apache.ctakes.core.resource.FileResource</interfaceName>
-                        <optional>false</optional>
-                    </externalResourceDependency>
-                </externalResourceDependencies>
-                <resourceManagerConfiguration>
-                    <externalResources>
-                        <externalResource>
-                            <name>ChunkerModelFile</name>
-                            <description/>
-                            <fileResourceSpecifier>
-                                <fileUrl>file:org/apache/ctakes/chunker/models/chunk-model.claims-1.5.zip</fileUrl>
-                            </fileResourceSpecifier>
-                            <implementationName>org.apache.ctakes.core.resource.FileResourceImpl</implementationName>
-                        </externalResource>
-                    </externalResources>
-                    <externalResourceBindings>
-                        <externalResourceBinding>
-                            <key>ChunkerModel</key>
-                            <resourceName>ChunkerModelFile</resourceName>
-                        </externalResourceBinding>
-                    </externalResourceBindings>
-                </resourceManagerConfiguration>
             </analysisEngineDescription>
         </delegateAnalysisEngine>     
     </delegateAnalysisEngineSpecifiers>



Mime
View raw message