<?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.
-->
<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
  <primitive>true</primitive>
  <annotatorImplementationName>org.apache.uima.alchemy.annotator.TextRankedNamedEntityExtractionAnnotator</annotatorImplementationName>
  <analysisEngineMetaData>
    <name>TextRankedEntityExtractionAEDescriptor</name>
    <description/>
    <version>1.0</version>
    <vendor/>
    <configurationParameters>
      <configurationParameter>
        <name>apikey</name>
        <type>String</type>
        <multiValued>false</multiValued>
        <mandatory>true</mandatory>
      </configurationParameter>
      <configurationParameter>
        <name>outputMode</name>
        <type>String</type>
        <multiValued>false</multiValued>
        <mandatory>true</mandatory>
      </configurationParameter>
      <configurationParameter>
        <name>disambiguate</name>
        <type>Integer</type>
        <multiValued>false</multiValued>
        <mandatory>true</mandatory>
      </configurationParameter>
      <configurationParameter>
        <name>linkedData</name>
        <type>String</type>
        <multiValued>false</multiValued>
        <mandatory>false</mandatory>
      </configurationParameter>
      <configurationParameter>
        <name>showSourceText</name>
        <type>Integer</type>
        <multiValued>false</multiValued>
        <mandatory>true</mandatory>
      </configurationParameter>
      <configurationParameter>
        <name>baseUrl</name>
        <type>String</type>
        <multiValued>false</multiValued>
        <mandatory>false</mandatory>
      </configurationParameter>
      <configurationParameter>
        <name>url</name>
        <type>String</type>
        <multiValued>false</multiValued>
        <mandatory>false</mandatory>
      </configurationParameter>
      <configurationParameter>
        <name>coreference</name>
        <type>String</type>
        <multiValued>false</multiValued>
        <mandatory>false</mandatory>
      </configurationParameter>
      <configurationParameter>
        <name>quotations</name>
        <type>String</type>
        <multiValued>false</multiValued>
        <mandatory>false</mandatory>
      </configurationParameter>
      <configurationParameter>
        <name>sentiment</name>
        <type>String</type>
        <multiValued>false</multiValued>
        <mandatory>false</mandatory>
      </configurationParameter>
    </configurationParameters>
    <configurationParameterSettings>
      <nameValuePair>
        <name>apikey</name>
        <value>
          <string/>
        </value>
      </nameValuePair>
      <nameValuePair>
        <name>outputMode</name>
        <value>
          <string>xml</string>
        </value>
      </nameValuePair>
      <nameValuePair>
        <name>disambiguate</name>
        <value>
          <integer>1</integer>
        </value>
      </nameValuePair>
      <nameValuePair>
        <name>linkedData</name>
        <value>
          <string>1</string>
        </value>
      </nameValuePair>
      <nameValuePair>
        <name>coreference</name>
        <value>
          <string>1</string>
        </value>
      </nameValuePair>
      <nameValuePair>
        <name>showSourceText</name>
        <value>
          <integer>0</integer>
        </value>
      </nameValuePair>
      <nameValuePair>
        <name>quotations</name>
        <value>
          <string>1</string>
        </value>
      </nameValuePair>
      <nameValuePair>
        <name>sentiment</name>
        <value>
          <string>1</string>
        </value>
      </nameValuePair>
    </configurationParameterSettings>
    <typeSystemDescription>
      <imports>
        <import location="baseAlchemyTypeSystemDescriptor.xml"/>
      </imports>
      <types>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Anniversary</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Automobile</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.City</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Company</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Continent</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Country</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.EntertainmentAward</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Facility</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.FieldTerminology</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.FinancialMarketIndex</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.GeographicFeature</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.HealthCondition</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Holiday</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Movie</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.MusicGroup</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.NaturalDisaster</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Organization</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Person</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.PrintMedia</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.RadioProgram</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.RadioStation</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Region</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Sport</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.StateOrCounty</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Technology</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.TelevisionShow</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.TelevisionStation</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.OperatingSystem</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.SportingEvent</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.Drug</name>
          <description/>
          <supertypeName>org.apache.uima.alchemy.ts.entity.BaseEntity</supertypeName>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.entity.BaseEntity</name>
          <description/>
          <supertypeName>uima.cas.TOP</supertypeName>
          <features>
            <featureDescription>
              <name>text</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>count</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>relevance</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>disambiguation</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>subType</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>website</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>geo</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>dbpedia</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>yago</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>opencyc</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>umbel</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>freebase</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>ciaFactbook</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>census</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>geonames</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>musicBrainz</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>quotations</name>
              <description/>
              <rangeTypeName>uima.cas.StringArray</rangeTypeName>
              <multipleReferencesAllowed>true</multipleReferencesAllowed>
            </featureDescription>
            <featureDescription>
              <name>occurrences</name>
              <description>A list of annotations annotating this entity</description>
              <rangeTypeName>uima.cas.FSList</rangeTypeName>
              <elementType>uima.tcas.Annotation</elementType>
            </featureDescription>
            <featureDescription>
              <name>sentiment</name>
              <description/>
              <rangeTypeName>org.apache.uima.alchemy.ts.sentiment.SentimentFS</rangeTypeName>
            </featureDescription>
          </features>
        </typeDescription>
        <typeDescription>
          <name>org.apache.uima.alchemy.ts.sentiment.SentimentFS</name>
          <description/>
          <supertypeName>uima.tcas.Annotation</supertypeName>
          <features>
            <featureDescription>
              <name>sentimentType</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
            <featureDescription>
              <name>score</name>
              <description/>
              <rangeTypeName>uima.cas.String</rangeTypeName>
            </featureDescription>
          </features>
        </typeDescription>
      </types>
    </typeSystemDescription>
    <typePriorities/>
    <fsIndexCollection/>
    <capabilities>
      <capability>
        <inputs/>
        <outputs/>
        <languagesSupported/>
      </capability>
    </capabilities>
    <operationalProperties>
      <modifiesCas>true</modifiesCas>
      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
      <outputsNewCASes>false</outputsNewCASes>
    </operationalProperties>
  </analysisEngineMetaData>
  <resourceManagerConfiguration/>
</analysisEngineDescription>
