Author: tommaso
Date: Mon Mar 8 17:03:52 2010
New Revision: 920401
URL: http://svn.apache.org/viewvc?rev=920401&view=rev
Log:
[CLEREZZA-124] - adding descriptors for OpenCalaisAnnotator and AlchemyAPI
Annotator, each of them need to be filled with a valid license id/API key to be
used
Added:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/OpenCalaisAnnotator.xml
(with props)
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextKeywordExtractionAEDescriptor.xml
(with props)
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextLanguageDetectionAEDescriptor.xml
(with props)
Modified:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml
Modified:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml
URL:
http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml?rev=920401&r1=920400&r2=920401&view=diff
==============================================================================
---
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml
(original)
+++
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/ExtServicesAE.xml
Mon Mar 8 17:03:52 2010
@@ -4,10 +4,13 @@
<primitive>false</primitive>
<delegateAnalysisEngineSpecifiers>
<delegateAnalysisEngine key="TextKeywordExtractionAEDescriptor">
- <import name="TextKeywordExtractionAEDescriptor"/>
+ <import location="TextKeywordExtractionAEDescriptor.xml"/>
</delegateAnalysisEngine>
<delegateAnalysisEngine key="OpenCalaisAnnotator">
- <import name="OpenCalaisAnnotator"/>
+ <import location="OpenCalaisAnnotator.xml"/>
+ </delegateAnalysisEngine>
+ <delegateAnalysisEngine key="TextLanguageDetectionAEDescriptor">
+ <import location="TextLanguageDetectionAEDescriptor.xml"/>
</delegateAnalysisEngine>
</delegateAnalysisEngineSpecifiers>
<analysisEngineMetaData>
@@ -21,6 +24,7 @@
<fixedFlow>
<node>OpenCalaisAnnotator</node>
<node>TextKeywordExtractionAEDescriptor</node>
+ <node>TextLanguageDetectionAEDescriptor</node>
</fixedFlow>
</flowConstraints>
<fsIndexCollection/>
Added:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/OpenCalaisAnnotator.xml
URL:
http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/OpenCalaisAnnotator.xml?rev=920401&view=auto
==============================================================================
---
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/OpenCalaisAnnotator.xml
(added)
+++
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/OpenCalaisAnnotator.xml
Mon Mar 8 17:03:52 2010
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+ <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+ <primitive>true</primitive>
+
<annotatorImplementationName>org.apache.uima.annotator.calais.OpenCalaisAnnotator</annotatorImplementationName>
+ <analysisEngineMetaData>
+ <name>OpenCalaisAnnotator</name>
+ <description/>
+ <configurationParameters>
+ <configurationParameter>
+ <name>allowDistribution</name>
+ <description/>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>allowSearch</name>
+ <description/>
+ <type>Boolean</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>submitter</name>
+ <description/>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>licenseID</name>
+ <description/>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+ </configurationParameters>
+ <configurationParameterSettings>
+ <nameValuePair>
+ <name>allowDistribution</name>
+ <value>
+ <boolean>false</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>allowSearch</name>
+ <value>
+ <boolean>false</boolean>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>submitter</name>
+ <value>
+ <string/>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>licenseID</name>
+ <value>
+ <string>OC_LICENSE_ID</string>
+ </value>
+ </nameValuePair>
+ </configurationParameterSettings>
+ <typeSystemDescription>
+ <types>
+ <typeDescription>
+ <name>org.apache.uima.calais.Person</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.Anniversary</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.City</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.Company</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.Continent</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.Country</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.Currency</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.EmailAddress</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.Facility</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.FaxNumber</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.Holiday</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.IndustryTerm</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.NaturalDisaster</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.NaturalFeature</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.Organization</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.PhoneNumber</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.ProviceOrState</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.Region</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.Technology</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.URL</name>
+ <description/>
+ <supertypeName>org.apache.uima.calais.BaseType</supertypeName>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.calais.BaseType</name>
+ <description/>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>calaisType</name>
+ <description>OpenCalais type</description>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ </types>
+ </typeSystemDescription>
+ <capabilities>
+ <capability>
+ <inputs/>
+ <outputs/>
+ <languagesSupported/>
+ </capability>
+ </capabilities>
+ <operationalProperties>
+ <modifiesCas>true</modifiesCas>
+ <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+ <outputsNewCASes>false</outputsNewCASes>
+ </operationalProperties>
+ </analysisEngineMetaData>
+</analysisEngineDescription>
Propchange:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/OpenCalaisAnnotator.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/OpenCalaisAnnotator.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/OpenCalaisAnnotator.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextKeywordExtractionAEDescriptor.xml
URL:
http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextKeywordExtractionAEDescriptor.xml?rev=920401&view=auto
==============================================================================
---
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextKeywordExtractionAEDescriptor.xml
(added)
+++
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextKeywordExtractionAEDescriptor.xml
Mon Mar 8 17:03:52 2010
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+ <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+ <primitive>true</primitive>
+
<annotatorImplementationName>org.apache.uima.alchemy.annotator.TextKeywordExtractionAnnotator</annotatorImplementationName>
+ <analysisEngineMetaData>
+ <name>TextCategorizationAEDescriptor</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>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>maxRetrieve</name>
+ <type>Integer</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ <configurationParameter>
+ <name>showSourceText</name>
+ <type>Integer</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ </configurationParameters>
+ <configurationParameterSettings>
+ <nameValuePair>
+ <name>outputMode</name>
+ <value>
+ <string>xml</string>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>apikey</name>
+ <value>
+ <string>AA_API_KEY</string>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>maxRetrieve</name>
+ <value>
+ <integer>10</integer>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>showSourceText</name>
+ <value>
+ <integer>0</integer>
+ </value>
+ </nameValuePair>
+ </configurationParameterSettings>
+ <typeSystemDescription>
+ <types>
+ <typeDescription>
+ <name>org.apache.uima.alchemy.ts.keywords.KeywordFS</name>
+ <description/>
+ <supertypeName>uima.cas.TOP</supertypeName>
+ <features>
+ <featureDescription>
+ <name>text</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>
Propchange:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextKeywordExtractionAEDescriptor.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextKeywordExtractionAEDescriptor.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextKeywordExtractionAEDescriptor.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextLanguageDetectionAEDescriptor.xml
URL:
http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextLanguageDetectionAEDescriptor.xml?rev=920401&view=auto
==============================================================================
---
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextLanguageDetectionAEDescriptor.xml
(added)
+++
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextLanguageDetectionAEDescriptor.xml
Mon Mar 8 17:03:52 2010
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+ <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+ <primitive>true</primitive>
+
<annotatorImplementationName>org.apache.uima.alchemy.annotator.TextLanguageDetectionAnnotator</annotatorImplementationName>
+ <analysisEngineMetaData>
+ <name>TextCategorizationAEDescriptor</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>url</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>false</mandatory>
+ </configurationParameter>
+ </configurationParameters>
+ <configurationParameterSettings>
+ <nameValuePair>
+ <name>outputMode</name>
+ <value>
+ <string>xml</string>
+ </value>
+ </nameValuePair>
+ <nameValuePair>
+ <name>apikey</name>
+ <value>
+ <string>AA_API_KEY</string>
+ </value>
+ </nameValuePair>
+ </configurationParameterSettings>
+ <typeSystemDescription>
+ <types>
+ <typeDescription>
+ <name>org.apache.uima.alchemy.ts.language.LanguageFS</name>
+ <description/>
+ <supertypeName>uima.cas.TOP</supertypeName>
+ <features>
+ <featureDescription>
+ <name>language</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>iso6391</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>iso6392</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>iso6393</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>ethnologue</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>nativeSpeakers</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>wikipedia</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>
Propchange:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextLanguageDetectionAEDescriptor.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextLanguageDetectionAEDescriptor.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.uima/org.apache.clerezza.uima.utils/src/main/resources/TextLanguageDetectionAEDescriptor.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml