incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattco...@apache.org
Subject svn commit: r1435388 - in /incubator/ctakes/trunk/ctakes-core/desc: cas_consumer/__XmiWriterCasConsumer.xml collection_reader/XmiCollectionReaderCtakes.xml
Date Fri, 18 Jan 2013 22:45:05 GMT
Author: mattcoarr
Date: Fri Jan 18 22:45:05 2013
New Revision: 1435388

URL: http://svn.apache.org/viewvc?rev=1435388&view=rev
Log:
added an xmi collection reader and an xmi writer (for working in cpe's with xmi documents
as both input and output)

Added:
    incubator/ctakes/trunk/ctakes-core/desc/cas_consumer/__XmiWriterCasConsumer.xml
    incubator/ctakes/trunk/ctakes-core/desc/collection_reader/XmiCollectionReaderCtakes.xml

Added: incubator/ctakes/trunk/ctakes-core/desc/cas_consumer/__XmiWriterCasConsumer.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-core/desc/cas_consumer/__XmiWriterCasConsumer.xml?rev=1435388&view=auto
==============================================================================
--- incubator/ctakes/trunk/ctakes-core/desc/cas_consumer/__XmiWriterCasConsumer.xml (added)
+++ incubator/ctakes/trunk/ctakes-core/desc/cas_consumer/__XmiWriterCasConsumer.xml Fri Jan
18 22:45:05 2013
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?><casConsumerDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+  <implementationName>org.apache.ctakes.core.cc.XmiWriterCasConsumerCtakes</implementationName>
+  <processingResourceMetaData>
+    <name>XMI Writer CAS Consumer</name>
+    <description>Writes the CAS to a stand-off XML format (XMI)</description>
+    <version>1.0</version>
+    <vendor/>
+    <configurationParameters>
+      <configurationParameter>
+        <name>OutputDirectory</name>
+        <description>Directory where the XCAS files will be written</description>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>true</mandatory>
+      </configurationParameter>
+    </configurationParameters>
+    <configurationParameterSettings>
+      <nameValuePair>
+        <name>OutputDirectory</name>
+        <value>
+          <string>c:\temp\uima\xcas</string>
+        </value>
+      </nameValuePair>
+    </configurationParameterSettings>
+    <typeSystemDescription>
+      <imports>
+        <import name="org.apache.ctakes.typesystem.types.TypeSystem"/>
+      </imports>
+    </typeSystemDescription>
+    <capabilities>
+      <capability>
+        <inputs/>
+        <outputs/>
+        <languagesSupported/>
+      </capability>
+    </capabilities>
+    <operationalProperties>
+      <modifiesCas>false</modifiesCas>
+      <multipleDeploymentAllowed>false</multipleDeploymentAllowed>
+      <outputsNewCASes>false</outputsNewCASes>
+    </operationalProperties>
+  </processingResourceMetaData>
+</casConsumerDescription>

Added: incubator/ctakes/trunk/ctakes-core/desc/collection_reader/XmiCollectionReaderCtakes.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-core/desc/collection_reader/XmiCollectionReaderCtakes.xml?rev=1435388&view=auto
==============================================================================
--- incubator/ctakes/trunk/ctakes-core/desc/collection_reader/XmiCollectionReaderCtakes.xml
(added)
+++ incubator/ctakes/trunk/ctakes-core/desc/collection_reader/XmiCollectionReaderCtakes.xml
Fri Jan 18 22:45:05 2013
@@ -0,0 +1,68 @@
+<?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.
+	 ***************************************************************
+   -->
+   
+<collectionReaderDescription  xmlns="http://uima.apache.org/resourceSpecifier">
+    <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+    <implementationName>org.apache.ctakes.assertion.cr.XmiCollectionReaderCtakes</implementationName>
+    <processingResourceMetaData>
+        <name>XMI Collection Reader</name>
+        <description>A simple collection reader that reads CASes in XMI format from
a directory
+     in the filesystem.</description>
+        <version>1.0</version>
+        <vendor>The Apache Software Foundation</vendor>
+        <configurationParameters>
+            <configurationParameter>
+                <name>InputDirectory</name>
+                <description>Directory containing input files</description>
+                <type>String</type>
+                <multiValued>false</multiValued>
+                <mandatory>true</mandatory>
+            </configurationParameter>
+            <configurationParameter>
+        		<name>FailOnUnknownType</name>
+        		<type>Boolean</type>
+        		<multiValued>false</multiValued>
+        		<mandatory>false</mandatory>
+        	</configurationParameter>
+        </configurationParameters>
+		<configurationParameterSettings>
+		    <nameValuePair>
+		        <name>InputDirectory</name>
+		        <value>
+		            <string>C:/Program Files/apache-uima/examples/data</string>
+		        </value>
+		    </nameValuePair>
+		    <nameValuePair>
+		        <name>FailOnUnknownType</name>
+		        <value>
+		            <boolean>true</boolean>
+		        </value>
+		    </nameValuePair>
+		</configurationParameterSettings>
+		<operationalProperties>
+			<modifiesCas>true</modifiesCas>
+			<multipleDeploymentAllowed>false</multipleDeploymentAllowed>
+			<outputsNewCASes>true</outputsNewCASes>
+		</operationalProperties>
+    </processingResourceMetaData>
+</collectionReaderDescription>



Mime
View raw message