incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r1402315 - /incubator/ctakes/trunk/ctakes-chunker/desc/Chunker.xml
Date Thu, 25 Oct 2012 20:13:21 GMT
Author: tmill
Date: Thu Oct 25 20:13:21 2012
New Revision: 1402315

URL: http://svn.apache.org/viewvc?rev=1402315&view=rev
Log:
Added type system import to chunker descriptor so eclipse viewer doesn't give errors.  Also
fixed indentation.

Modified:
    incubator/ctakes/trunk/ctakes-chunker/desc/Chunker.xml

Modified: incubator/ctakes/trunk/ctakes-chunker/desc/Chunker.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-chunker/desc/Chunker.xml?rev=1402315&r1=1402314&r2=1402315&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-chunker/desc/Chunker.xml (original)
+++ incubator/ctakes/trunk/ctakes-chunker/desc/Chunker.xml Thu Oct 25 20:13:21 2012
@@ -1,113 +1,109 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+	license agreements. See the NOTICE file distributed with this work for additional 
+	information regarding copyright ownership. The ASF licenses this file to 
+	you under the Apache License, Version 2.0 (the "License"); you may not use 
+	this file except in compliance with the License. You may obtain a copy of 
+	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+	by applicable law or agreed to in writing, software distributed under the 
+	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+	OF ANY KIND, either express or implied. See the License for the specific 
+	language governing permissions and limitations under the License. -->
 <analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
-<frameworkImplementation>org.apache.uima.java</frameworkImplementation>
-<primitive>true</primitive>
-<annotatorImplementationName>org.apache.ctakes.chunker.ae.Chunker</annotatorImplementationName>
-<analysisEngineMetaData>
-<name>Chunker</name>
-<description></description>
-<version>1.0</version>
-<vendor></vendor>
-<configurationParameters>
-<configurationParameter>
-<name>ChunkerModelFile</name>
-<type>String</type>
-<multiValued>false</multiValued>
-<mandatory>true</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>ChunkCreatorClass</name>
-<type>String</type>
-<multiValued>false</multiValued>
-<mandatory>true</mandatory>
-</configurationParameter>
-</configurationParameters>
-<configurationParameterSettings>
-<nameValuePair>
-<name>ChunkerModelFile</name>
-<value>
-<string>org/apache/ctakes/chunker/models/chunk-model.claims-1.5.zip</string>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>ChunkCreatorClass</name>
-<value>
-<string>org.apache.ctakes.chunker.ae.DefaultChunkCreator</string>
-</value>
-</nameValuePair>
-</configurationParameterSettings>
-<typeSystemDescription>
-<imports>
-</imports>
-</typeSystemDescription>
-<typePriorities>
-<name>Ordering</name>
-<description>For subiterator</description>
-<version>1.0</version>
-<priorityList>
-<type>org.apache.ctakes.typesystem.type.textspan.Segment</type>
-<type>org.apache.ctakes.typesystem.type.textspan.Sentence</type>
-<type>org.apache.ctakes.typesystem.type.syntax.BaseToken</type>
-</priorityList>
-</typePriorities>
-<fsIndexCollection/>
-<capabilities>
-<capability>
-<inputs/>
-<outputs/>
-<languagesSupported/>
-</capability>
-</capabilities>
-<operationalProperties>
-<modifiesCas>true</modifiesCas>
-<multipleDeploymentAllowed>true</multipleDeploymentAllowed>
-<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/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>
+	<frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+	<primitive>true</primitive>
+	<annotatorImplementationName>org.apache.ctakes.chunker.ae.Chunker
+	</annotatorImplementationName>
+	<analysisEngineMetaData>
+		<name>Chunker</name>
+		<description></description>
+		<version>1.0</version>
+		<vendor></vendor>
+		<configurationParameters>
+			<configurationParameter>
+				<name>ChunkerModelFile</name>
+				<type>String</type>
+				<multiValued>false</multiValued>
+				<mandatory>true</mandatory>
+			</configurationParameter>
+			<configurationParameter>
+				<name>ChunkCreatorClass</name>
+				<type>String</type>
+				<multiValued>false</multiValued>
+				<mandatory>true</mandatory>
+			</configurationParameter>
+		</configurationParameters>
+		<configurationParameterSettings>
+			<nameValuePair>
+				<name>ChunkerModelFile</name>
+				<value>
+					<string>org/apache/ctakes/chunker/models/chunk-model.claims-1.5.zip
+					</string>
+				</value>
+			</nameValuePair>
+			<nameValuePair>
+				<name>ChunkCreatorClass</name>
+				<value>
+					<string>org.apache.ctakes.chunker.ae.DefaultChunkCreator</string>
+				</value>
+			</nameValuePair>
+		</configurationParameterSettings>
+		<typeSystemDescription>
+			<imports>
+				<import name="org.apache.ctakes.typesystem.types.TypeSystem" />
+			</imports>
+		</typeSystemDescription>
+		<typePriorities>
+			<name>Ordering</name>
+			<description>For subiterator</description>
+			<version>1.0</version>
+			<priorityList>
+				<type>org.apache.ctakes.typesystem.type.textspan.Segment</type>
+				<type>org.apache.ctakes.typesystem.type.textspan.Sentence</type>
+				<type>org.apache.ctakes.typesystem.type.syntax.BaseToken</type>
+			</priorityList>
+		</typePriorities>
+		<fsIndexCollection />
+		<capabilities>
+			<capability>
+				<inputs />
+				<outputs />
+				<languagesSupported />
+			</capability>
+		</capabilities>
+		<operationalProperties>
+			<modifiesCas>true</modifiesCas>
+			<multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+			<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/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>



Mime
View raw message