You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by ja...@apache.org on 2013/06/10 17:50:40 UTC
svn commit: r1491508 -
/ctakes/trunk/ctakes-lvg/desc/analysis_engine/LvgAnnotator.xml
Author: james-masanz
Date: Mon Jun 10 15:50:39 2013
New Revision: 1491508
URL: http://svn.apache.org/r1491508
Log:
for CTAKES-208 - add type system import to LVGAnnotator.xml
Modified:
ctakes/trunk/ctakes-lvg/desc/analysis_engine/LvgAnnotator.xml
Modified: ctakes/trunk/ctakes-lvg/desc/analysis_engine/LvgAnnotator.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-lvg/desc/analysis_engine/LvgAnnotator.xml?rev=1491508&r1=1491507&r2=1491508&view=diff
==============================================================================
--- ctakes/trunk/ctakes-lvg/desc/analysis_engine/LvgAnnotator.xml (original)
+++ ctakes/trunk/ctakes-lvg/desc/analysis_engine/LvgAnnotator.xml Mon Jun 10 15:50:39 2013
@@ -1,259 +1,240 @@
<?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.lvg.ae.LvgAnnotator</annotatorImplementationName>
-<analysisEngineMetaData>
-<name>LVG Annotator</name>
-<description></description>
-<version></version>
-<vendor></vendor>
-<configurationParameters>
-<configurationParameter>
-<name>UseSegments</name>
-<description>Flag whether to use segments or full doc text.</description>
-<type>Boolean</type>
-<multiValued>false</multiValued>
-<mandatory>false</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>SegmentsToSkip</name>
-<description>Segments to skip.</description>
-<type>String</type>
-<multiValued>true</multiValued>
-<mandatory>false</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>UseCmdCache</name>
-<description>Flag whether to use LVG cache.</description>
-<type>Boolean</type>
-<multiValued>false</multiValued>
-<mandatory>true</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>CmdCacheFileLocation</name>
-<description>Location of LVG cache file containing LvgCmdApi data.</description>
-<type>String</type>
-<multiValued>false</multiValued>
-<mandatory>true</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>CmdCacheFrequencyCutoff</name>
-<description>Cutoff frequency for items that get loaded into RAM from cache.</description>
-<type>Integer</type>
-<multiValued>false</multiValued>
-<mandatory>true</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>ExclusionSet</name>
-<description>Set of words that LVG should not run on.</description>
-<type>String</type>
-<multiValued>true</multiValued>
-<mandatory>false</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>XeroxTreebankMap</name>
-<type>String</type>
-<multiValued>true</multiValued>
-<mandatory>true</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>PostLemmas</name>
-<description>This parameter determines whether the feature lemmaEntries will be populated for word annotations.</description>
-<type>Boolean</type>
-<multiValued>false</multiValued>
-<mandatory>true</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>UseLemmaCache</name>
-<description>This parameter determines whether a cache will be used to improve perfomance of setting lemma entries.</description>
-<type>Boolean</type>
-<multiValued>false</multiValued>
-<mandatory>true</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>LemmaCacheFileLocation</name>
-<description>This parameter determines where the lemma cache is located.</description>
-<type>String</type>
-<multiValued>false</multiValued>
-<mandatory>true</mandatory>
-</configurationParameter>
-<configurationParameter>
-<name>LemmaCacheFrequencyCutoff</name>
-<description>This parameter sets a threshold for the frequency of a lemma to be loaded into the cache.</description>
-<type>Integer</type>
-<multiValued>false</multiValued>
-<mandatory>true</mandatory>
-</configurationParameter>
-</configurationParameters>
-<configurationParameterSettings>
-<nameValuePair>
-<name>UseSegments</name>
-<value>
-<boolean>false</boolean>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>SegmentsToSkip</name>
-<value>
-<array>
-<string></string>
-</array>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>UseCmdCache</name>
-<value>
-<boolean>false</boolean>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>CmdCacheFileLocation</name>
-<value>
-<string>org/apache/ctakes/lvg/2005_norm.voc</string>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>CmdCacheFrequencyCutoff</name>
-<value>
-<integer>20</integer>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>ExclusionSet</name>
-<value>
-<array>
-<string>and</string>
-<string>And</string>
-<string>by</string>
-<string>By</string>
-<string>for</string>
-<string>For</string>
-<string>in</string>
-<string>In</string>
-<string>of</string>
-<string>Of</string>
-<string>on</string>
-<string>On</string>
-<string>the</string>
-<string>The</string>
-<string>to</string>
-<string>To</string>
-<string>with</string>
-<string>With</string>
-</array>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>XeroxTreebankMap</name>
-<value>
-<array>
-<string>adj|JJ</string>
-<string>adv|RB</string>
-<string>aux|AUX</string>
-<string>compl|CS</string>
-<string>conj|CC</string>
-<string>det|DET</string>
-<string>modal|MD</string>
-<string>noun|NN</string>
-<string>prep|IN</string>
-<string>pron|PRP</string>
-<string>verb|VB</string>
-</array>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>LemmaCacheFileLocation</name>
-<value>
-<string>/ctakes-lvg/2005_lemma.voc</string>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>UseLemmaCache</name>
-<value>
-<boolean>false</boolean>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>LemmaCacheFrequencyCutoff</name>
-<value>
-<integer>20</integer>
-</value>
-</nameValuePair>
-<nameValuePair>
-<name>PostLemmas</name>
-<value>
-<boolean>true</boolean>
-</value>
-</nameValuePair>
-</configurationParameterSettings>
+ <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+ <primitive>true</primitive>
+ <annotatorImplementationName>org.apache.ctakes.lvg.ae.LvgAnnotator</annotatorImplementationName>
+ <analysisEngineMetaData>
+ <name>LVG Annotator</name>
+ <description/>
+ <version/>
+ <vendor/>
+ <configurationParameters>
+ <configurationParameter>
+ <name>UseSegments</name>
+ <description>Flag whether to use segments or full doc text.</description>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>SegmentsToSkip</name>
+ <description>Segments to skip.</description>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>UseCmdCache</name>
+ <description>Flag whether to use LVG cache.</description>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>CmdCacheFileLocation</name>
+ <description>Location of LVG cache file containing LvgCmdApi data.</description>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>CmdCacheFrequencyCutoff</name>
+ <description>Cutoff frequency for items that get loaded into RAM from cache.</description>
+ <type>Integer</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>ExclusionSet</name>
+ <description>Set of words that LVG should not run on.</description>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>XeroxTreebankMap</name>
+ <type>String</type>
+ <multiValued>true</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>PostLemmas</name>
+ <description>This parameter determines whether the feature lemmaEntries will be populated for word annotations.</description>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>UseLemmaCache</name>
+ <description>This parameter determines whether a cache will be used to improve perfomance of setting lemma entries.</description>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>LemmaCacheFileLocation</name>
+ <description>This parameter determines where the lemma cache is located.</description>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>LemmaCacheFrequencyCutoff</name>
+ <description>This parameter sets a threshold for the frequency of a lemma to be loaded into the cache.</description>
+ <type>Integer</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ </configurationParameters>
+ <configurationParameterSettings>
+ <nameValuePair>
+ <name>UseSegments</name>
+ <value>
+ <boolean>false</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>SegmentsToSkip</name>
+ <value>
+ <array>
+ <string/>
+ </array>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>UseCmdCache</name>
+ <value>
+ <boolean>false</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>CmdCacheFileLocation</name>
+ <value>
+ <string>org/apache/ctakes/lvg/2005_norm.voc</string>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>CmdCacheFrequencyCutoff</name>
+ <value>
+ <integer>20</integer>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>ExclusionSet</name>
+ <value>
+ <array>
+ <string>and</string>
+ <string>And</string>
+ <string>by</string>
+ <string>By</string>
+ <string>for</string>
+ <string>For</string>
+ <string>in</string>
+ <string>In</string>
+ <string>of</string>
+ <string>Of</string>
+ <string>on</string>
+ <string>On</string>
+ <string>the</string>
+ <string>The</string>
+ <string>to</string>
+ <string>To</string>
+ <string>with</string>
+ <string>With</string>
+ </array>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>XeroxTreebankMap</name>
+ <value>
+ <array>
+ <string>adj|JJ</string>
+ <string>adv|RB</string>
+ <string>aux|AUX</string>
+ <string>compl|CS</string>
+ <string>conj|CC</string>
+ <string>det|DET</string>
+ <string>modal|MD</string>
+ <string>noun|NN</string>
+ <string>prep|IN</string>
+ <string>pron|PRP</string>
+ <string>verb|VB</string>
+ </array>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>LemmaCacheFileLocation</name>
+ <value>
+ <string>/ctakes-lvg/2005_lemma.voc</string>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>UseLemmaCache</name>
+ <value>
+ <boolean>false</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>LemmaCacheFrequencyCutoff</name>
+ <value>
+ <integer>20</integer>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>PostLemmas</name>
+ <value>
+ <boolean>true</boolean>
+ </value>
+ </nameValuePair>
+ </configurationParameterSettings>
<typeSystemDescription>
<imports>
+<import name="org.apache.ctakes.typesystem.types.TypeSystem"/>
</imports>
</typeSystemDescription>
-<typePriorities/>
-<fsIndexCollection/>
-<capabilities>
-<capability>
-<inputs>
-<type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.syntax.WordToken</type>
-</inputs>
-<outputs>
-<type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.syntax.WordToken</type>
-</outputs>
-<languagesSupported/>
-</capability>
-</capabilities>
-<operationalProperties>
-<modifiesCas>true</modifiesCas>
-<multipleDeploymentAllowed>true</multipleDeploymentAllowed>
-<outputsNewCASes>false</outputsNewCASes>
-</operationalProperties>
-</analysisEngineMetaData>
-<externalResourceDependencies>
-<externalResourceDependency>
-<key>LvgCmdApi</key>
-<description></description>
-<interfaceName>org.apache.ctakes.lvg.resource.LvgCmdApiResource</interfaceName>
-<optional>false</optional>
-</externalResourceDependency>
-</externalResourceDependencies>
-<resourceManagerConfiguration>
-<externalResources>
-<externalResource>
-<name>LvgCmdApi</name>
-<description></description>
-<fileResourceSpecifier>
-<fileUrl>file:org/apache/ctakes/lvg/data/config/lvg.properties</fileUrl>
-</fileResourceSpecifier>
-<implementationName>org.apache.ctakes.lvg.resource.LvgCmdApiResourceImpl</implementationName>
-</externalResource>
-</externalResources>
-<externalResourceBindings>
-<externalResourceBinding>
-<key>LvgCmdApi</key>
-<resourceName>LvgCmdApi</resourceName>
-</externalResourceBinding>
-</externalResourceBindings>
-</resourceManagerConfiguration>
+ <typePriorities/>
+ <fsIndexCollection/>
+ <capabilities>
+ <capability>
+ <inputs>
+ <type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.syntax.WordToken</type>
+ </inputs>
+ <outputs>
+ <type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.syntax.WordToken</type>
+ </outputs>
+ <languagesSupported/>
+ </capability>
+ </capabilities>
+ <operationalProperties>
+ <modifiesCas>true</modifiesCas>
+ <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+ <outputsNewCASes>false</outputsNewCASes>
+ </operationalProperties>
+ </analysisEngineMetaData>
+ <externalResourceDependencies>
+ <externalResourceDependency>
+ <key>LvgCmdApi</key>
+ <description/>
+ <interfaceName>org.apache.ctakes.lvg.resource.LvgCmdApiResource</interfaceName>
+ <optional>false</optional>
+ </externalResourceDependency>
+ </externalResourceDependencies>
+ <resourceManagerConfiguration>
+ <externalResources>
+ <externalResource>
+ <name>LvgCmdApi</name>
+ <description/>
+ <fileResourceSpecifier>
+ <fileUrl>file:org/apache/ctakes/lvg/data/config/lvg.properties</fileUrl>
+ </fileResourceSpecifier>
+ <implementationName>org.apache.ctakes.lvg.resource.LvgCmdApiResourceImpl</implementationName>
+ </externalResource>
+ </externalResources>
+ <externalResourceBindings>
+ <externalResourceBinding>
+ <key>LvgCmdApi</key>
+ <resourceName>LvgCmdApi</resourceName>
+ </externalResourceBinding>
+ </externalResourceBindings>
+ </resourceManagerConfiguration>
</taeDescription>