You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by sp...@apache.org on 2012/12/14 17:47:58 UTC

svn commit: r1421974 - /incubator/ctakes/trunk/ctakes-drug-ner/desc/analysis_engine/DictionaryLookupAnnotator.xml

Author: spmurphy50
Date: Fri Dec 14 16:47:56 2012
New Revision: 1421974

URL: http://svn.apache.org/viewvc?rev=1421974&view=rev
Log:
CTAKES-116

Modified:
    incubator/ctakes/trunk/ctakes-drug-ner/desc/analysis_engine/DictionaryLookupAnnotator.xml

Modified: incubator/ctakes/trunk/ctakes-drug-ner/desc/analysis_engine/DictionaryLookupAnnotator.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-drug-ner/desc/analysis_engine/DictionaryLookupAnnotator.xml?rev=1421974&r1=1421973&r2=1421974&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-drug-ner/desc/analysis_engine/DictionaryLookupAnnotator.xml (original)
+++ incubator/ctakes/trunk/ctakes-drug-ner/desc/analysis_engine/DictionaryLookupAnnotator.xml Fri Dec 14 16:47:56 2012
@@ -1,129 +1,108 @@
-<?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.dictionary.lookup.ae.DictionaryLookupAnnotator</annotatorImplementationName>
-  <analysisEngineMetaData>
-    <name>DictionaryLookupAnnotator</name>
-    <description/>
-    <version>1.0</version>
-    <vendor>Mayo</vendor>
-    <configurationParameters/>
-    <configurationParameterSettings/>
-    <typeSystemDescription/>
-    <typePriorities/>
-    <fsIndexCollection/>
-    <capabilities>
-      <capability>
-        <inputs>
-          <type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.syntax.BaseToken</type>
-          <type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.textspan.LookupWindowAnnotation</type>
-        </inputs>
-        <outputs>
-          <type allAnnotatorFeatures="true">org.apache.ctakes.lookup.type.NamedEntity</type>
-        </outputs>
-        <languagesSupported/>
-      </capability>
-    </capabilities>
-    <operationalProperties>
-      <modifiesCas>true</modifiesCas>
-      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
-      <outputsNewCASes>false</outputsNewCASes>
-    </operationalProperties>
-  </analysisEngineMetaData>
-  <externalResourceDependencies>
-    <externalResourceDependency>
-      <key>LookupDescriptor</key>
-      <description/>
-      <interfaceName>org.apache.ctakes.core.resource.FileResource</interfaceName>
-      <optional>false</optional>
-    </externalResourceDependency>
-    <externalResourceDependency>
-      <key>RxnormIndexReader</key>
-      <description/>
-      <interfaceName>org.apache.ctakes.core.resource.LuceneIndexReaderResource</interfaceName>
-      <optional>false</optional>
-    </externalResourceDependency>
-  </externalResourceDependencies>
-  <resourceManagerConfiguration>
-    <externalResources>
-      <externalResource>
-        <name>LookupDescriptorFile</name>
-        <description/>
-        <fileResourceSpecifier>
-          <fileUrl>file:org/apache/ctakes/drugner/lookup/LookupDesc_DrugNER.xml</fileUrl>
-        </fileResourceSpecifier>
-        <implementationName>org.apache.ctakes.core.resource.FileResourceImpl</implementationName>
-      </externalResource>
-      <externalResource>
-        <name>RxnormIndex</name>
-        <description/>
-        <configurableDataResourceSpecifier>
-          <url/>
-          <resourceMetaData>
-            <name/>
-            <configurationParameters>
-              <configurationParameter>
-                <name>UseMemoryIndex</name>
-                <type>Boolean</type>
-                <multiValued>false</multiValued>
-                <mandatory>true</mandatory>
-              </configurationParameter>
-              <configurationParameter>
-                <name>IndexDirectory</name>
-                <type>String</type>
-                <multiValued>false</multiValued>
-                <mandatory>true</mandatory>
-              </configurationParameter>
-            </configurationParameters>
-            <configurationParameterSettings>
-              <nameValuePair>
-                <name>UseMemoryIndex</name>
-                <value>
-                  <boolean>true</boolean>
-                </value>
-              </nameValuePair>
-              <nameValuePair>
-                <name>IndexDirectory</name>
-                <value>
-                  <string>org/apache/ctakes/drugner/lookup/drug_index</string>
-                </value>
-              </nameValuePair>
-            </configurationParameterSettings>
-          </resourceMetaData>
-        </configurableDataResourceSpecifier>
-        <implementationName>org.apache.ctakes.core.resource.LuceneIndexReaderResourceImpl</implementationName>
-      </externalResource>
-    </externalResources>
-    <externalResourceBindings>
-      <externalResourceBinding>
-        <key>LookupDescriptor</key>
-        <resourceName>LookupDescriptorFile</resourceName>
-      </externalResourceBinding>
-      <externalResourceBinding>
-        <key>RxnormIndexReader</key>
-        <resourceName>RxnormIndex</resourceName>
-      </externalResourceBinding>
-    </externalResourceBindings>
-  </resourceManagerConfiguration>
-</taeDescription>
+<?xml version="1.0" encoding="UTF-8"?><taeDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+  <primitive>true</primitive>
+  <annotatorImplementationName>org.apache.ctakes.dictionary.lookup.ae.DictionaryLookupAnnotator</annotatorImplementationName>
+  <analysisEngineMetaData>
+    <name>DictionaryLookupAnnotator</name>
+    <description/>
+    <version>1.0</version>
+    <vendor>Mayo</vendor>
+    <configurationParameters/>
+    <configurationParameterSettings/>
+    <typeSystemDescription/>
+    <typePriorities/>
+    <fsIndexCollection/>
+    <capabilities>
+      <capability>
+        <inputs>
+          <type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.syntax.BaseToken</type>
+          <type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.textspan.LookupWindowAnnotation</type>
+        </inputs>
+        <outputs>
+          <type allAnnotatorFeatures="true">org.apache.ctakes.lookup.type.NamedEntity</type>
+        </outputs>
+        <languagesSupported/>
+      </capability>
+    </capabilities>
+    <operationalProperties>
+      <modifiesCas>true</modifiesCas>
+      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+      <outputsNewCASes>false</outputsNewCASes>
+    </operationalProperties>
+  </analysisEngineMetaData>
+  <externalResourceDependencies>
+    <externalResourceDependency>
+      <key>LookupDescriptor</key>
+      <description/>
+      <interfaceName>org.apache.ctakes.core.resource.FileResource</interfaceName>
+      <optional>false</optional>
+    </externalResourceDependency>
+    <externalResourceDependency>
+      <key>RxnormIndexReader</key>
+      <description/>
+      <interfaceName>org.apache.ctakes.core.resource.LuceneIndexReaderResource</interfaceName>
+      <optional>false</optional>
+    </externalResourceDependency>
+  </externalResourceDependencies>
+  <resourceManagerConfiguration>
+    <externalResources>
+      <externalResource>
+        <name>LookupDescriptorFile</name>
+        <description/>
+        <fileResourceSpecifier>
+          <fileUrl>file:org/apache/ctakes/drugner/lookup/LookupDesc_DrugNER.xml</fileUrl>
+        </fileResourceSpecifier>
+        <implementationName>org.apache.ctakes.core.resource.FileResourceImpl</implementationName>
+      </externalResource>
+      <externalResource>
+        <name>RxnormIndex</name>
+        <description/>
+        <configurableDataResourceSpecifier>
+          <url/>
+          <resourceMetaData>
+            <name/>
+            <configurationParameters>
+              <configurationParameter>
+                <name>UseMemoryIndex</name>
+                <type>Boolean</type>
+                <multiValued>false</multiValued>
+                <mandatory>true</mandatory>
+              </configurationParameter>
+              <configurationParameter>
+                <name>IndexDirectory</name>
+                <type>String</type>
+                <multiValued>false</multiValued>
+                <mandatory>true</mandatory>
+              </configurationParameter>
+            </configurationParameters>
+            <configurationParameterSettings>
+              <nameValuePair>
+                <name>UseMemoryIndex</name>
+                <value>
+                  <boolean>true</boolean>
+                </value>
+              </nameValuePair>
+              <nameValuePair>
+                <name>IndexDirectory</name>
+                <value>
+                  <string>org/apache/ctakes/dictionary/lookup/drug_index</string>
+                </value>
+              </nameValuePair>
+            </configurationParameterSettings>
+          </resourceMetaData>
+        </configurableDataResourceSpecifier>
+        <implementationName>org.apache.ctakes.core.resource.LuceneIndexReaderResourceImpl</implementationName>
+      </externalResource>
+    </externalResources>
+    <externalResourceBindings>
+      <externalResourceBinding>
+        <key>LookupDescriptor</key>
+        <resourceName>LookupDescriptorFile</resourceName>
+      </externalResourceBinding>
+      <externalResourceBinding>
+        <key>RxnormIndexReader</key>
+        <resourceName>RxnormIndex</resourceName>
+      </externalResourceBinding>
+    </externalResourceBindings>
+  </resourceManagerConfiguration>
+</taeDescription>