You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by ch...@apache.org on 2014/11/05 22:21:55 UTC

svn commit: r1636962 - in /ctakes/trunk: ctakes-clinical-pipeline/desc/analysis_engine/SectionSegmentAnnotator.xml ctakes-core/desc/analysis_engine/SectionSegmentAnnotator.xml

Author: chenpei
Date: Wed Nov  5 21:21:55 2014
New Revision: 1636962

URL: http://svn.apache.org/r1636962
Log:
CTAKES-169 Clean up desc.  SectionSegmentAnnotator.java is in core, moved the xml desc to core instead of clinical pipeline.

Added:
    ctakes/trunk/ctakes-core/desc/analysis_engine/SectionSegmentAnnotator.xml   (with props)
Removed:
    ctakes/trunk/ctakes-clinical-pipeline/desc/analysis_engine/SectionSegmentAnnotator.xml

Added: ctakes/trunk/ctakes-core/desc/analysis_engine/SectionSegmentAnnotator.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-core/desc/analysis_engine/SectionSegmentAnnotator.xml?rev=1636962&view=auto
==============================================================================
--- ctakes/trunk/ctakes-core/desc/analysis_engine/SectionSegmentAnnotator.xml (added)
+++ ctakes/trunk/ctakes-core/desc/analysis_engine/SectionSegmentAnnotator.xml Wed Nov  5 21:21:55 2014
@@ -0,0 +1,102 @@
+<?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.
+
+-->
+<taeDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+  <primitive>true</primitive>
+  <annotatorImplementationName>org.apache.ctakes.core.ae.SectionSegmentAnnotator</annotatorImplementationName>
+  <analysisEngineMetaData>
+    <name>SimpleSegmentAnnotator</name>
+    <description>Creates a single Segment annotation, encompassing the entire document.  For use prior to annotators that require a Segment annotation, when the input document is not in CDA/does not have another annotator that creates Segment annotations.</description>
+    <version>2.2</version>
+    <vendor>Mayo Clinic</vendor>
+    <configurationParameters>
+      <configurationParameter>
+        <name>SegmentID</name>
+        <description/>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>false</mandatory>
+      </configurationParameter>
+      <configurationParameter>
+        <name>parserTemplate</name>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>true</mandatory>
+      </configurationParameter>
+    </configurationParameters>
+    <configurationParameterSettings>
+      <nameValuePair>
+        <name>parserTemplate</name>
+        <value>
+          <string>template.xml</string>
+        </value>
+      </nameValuePair>
+    </configurationParameterSettings>
+    <typeSystemDescription>
+      <imports>
+        <import name="org.apache.ctakes.typesystem.types.TypeSystem"/>
+      </imports>
+    </typeSystemDescription>
+    <typePriorities/>
+    <fsIndexCollection/>
+    <capabilities>
+      <capability>
+        <inputs/>
+        <outputs>
+          <type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.textspan.Segment</type>
+        </outputs>
+        <languagesSupported/>
+      </capability>
+    </capabilities>
+    <operationalProperties>
+      <modifiesCas>true</modifiesCas>
+      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+      <outputsNewCASes>false</outputsNewCASes>
+    </operationalProperties>
+  </analysisEngineMetaData>
+  <externalResourceDependencies>
+    <externalResourceDependency>
+      <key>template</key>
+      <description/>
+      <interfaceName>org.apache.ctakes.core.resource.FileResource</interfaceName>
+      <optional>false</optional>
+    </externalResourceDependency>
+  </externalResourceDependencies>
+  <resourceManagerConfiguration>
+    <externalResources>
+      <externalResource>
+        <name>templateFile</name>
+        <description/>
+        <fileResourceSpecifier>
+          <fileUrl>file:org/apache/ctakes/core/template.xml</fileUrl>
+        </fileResourceSpecifier>
+        <implementationName>org.apache.ctakes.core.resource.FileResourceImpl</implementationName>
+      </externalResource>
+    </externalResources>
+    <externalResourceBindings>
+      <externalResourceBinding>
+        <key>template</key>
+        <resourceName>templateFile</resourceName>
+      </externalResourceBinding>
+    </externalResourceBindings>
+  </resourceManagerConfiguration>
+</taeDescription>

Propchange: ctakes/trunk/ctakes-core/desc/analysis_engine/SectionSegmentAnnotator.xml
------------------------------------------------------------------------------
    svn:eol-style = native