You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2009/09/25 17:27:51 UTC

svn commit: r818885 - in /incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor: ./ cfeModelGen/ docs/pdf/ src/main/java/org/apache/uima/tools/cfe/ src/main/xsdForEmf/ src/main/xsdForXMLBeans/

Author: schor
Date: Fri Sep 25 15:27:43 2009
New Revision: 818885

URL: http://svn.apache.org/viewvc?rev=818885&view=rev
Log:
UIMA-1589 add info on regenerating EMF files

Added:
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/README.txt
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/CFE.genmodel
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/config.ecore
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/xsdForEmf/
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/xsdForEmf/CFEConfigModel.xsd
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/xsdForXMLBeans/
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/xsdForXMLBeans/CFEConfig.xsd
      - copied unchanged from r818256, incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/CFEConfig.xsd
Removed:
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/CFEConfig.xsd
Modified:
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/docs/pdf/CFE_UG.pdf
    incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/pom.xml

Added: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/README.txt
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/README.txt?rev=818885&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/README.txt (added)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/README.txt Fri Sep 25 15:27:43 2009
@@ -0,0 +1,41 @@
+Note to maintainers:
+
+The Java source files in 
+  org.apache.uima.tools.cfe.config,
+  org.apache.uima.tools.cfe.config.impl, and
+  org.apache.uima.tools.cfe.config.utils are 
+generated using Eclipse EMF tooling, from the CFEConfig.xsd
+file.  Note: One file: org.apache.uima.tools.cfe.config.utils.ConfigResourceUtil.java
+is *not* generated but should be kept, if you regenerate the others.
+
+The procedure for regenerating these, using Eclipse (version 3.5), is as follows:
+    
+1.  Open Java perspective and select ConfigurableFeatureExtractor project in ProjectExplorer
+2.  Create new EMF Model from CFEConfig.xsd by following these steps:
+2.1.  Click to select the folder ConfigurableFeatureExtractor/cfeModelGen
+2.2   From main menu select File->New->Other->Eclipse Modeling Framework->EMF Generator Model
+      If you don't see this selection, install the EMF Modeling Framework plugin 
+      (Help -> Install New Software).
+2.3.  In the "EMF Model" dialog:
+2.3.1.  In the "Enter or select the parent folder" edit box verify the cfeModelGen folder is
+        selected. 
+2.3.2.  In the "File Name" edit box enter CFE.genmodel" and press "Next" 
+2.4.  In the "Select a Model Importer" dialog select "XML Schema" 
+      from the "Model Importers" list and press the "Next" button.
+      If it's not a choice, install the XSL - XSD Schema Definition plugin, and try again.
+2.5.  In "XML Schema Import" dialog browse the workspace to select 
+      the schema file (src/main/xsdForEmf/CFEConfig.xsd) and press the "Next" button
+2.6.  In the "Package selection" dialog press the "Finish" button
+3.  Generating source files
+3.1.  After step 2.6 a genmodel file CFEConfig.genmodel should be created and open in Eclipse editor
+3.2.  Right-click this and select Show Properties View.  Change the following 4 properties:
+        All -> Bundle Manifest: false
+        Model -> Model Directory: change the value by appending /main/java so the value looks like
+          /ConfigurableFeatureExtractor/src/main/java
+        Model -> Model Plug in Id: delete (clear) this field
+        Templates & Merge -> Update Classpath: false  
+3.4.  Go back to the CFE.genmodel screen, save the modified model, and then 
+      right-click the model and select "Generate Model Code"
+
+This will regenerate the source files for the model under src/main/java in the 
+org.apache.uima.tools.cfe.config, ...config.impl and ... config.utils packages.
\ No newline at end of file

Added: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/CFE.genmodel
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/CFE.genmodel?rev=818885&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/CFE.genmodel (added)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/CFE.genmodel Fri Sep 25 15:27:43 2009
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+    xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+    xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/ConfigurableFeatureExtractor/src/main/java"
+    modelPluginID="" modelName="CFE" importerID="org.eclipse.xsd.ecore.importer" bundleManifest="false"
+    complianceLevel="5.0" copyrightFields="false">
+  <foreignModel>../src/main/xsdForEmf/CFEConfigModel.xsd</foreignModel>
+  <genPackages prefix="Config" basePackage="org.apache.uima.tools.cfe" resource="XML"
+      disposableProviderFactory="true" ecorePackage="config.ecore#/">
+    <genClasses ecoreClass="config.ecore#//BitsetFeatureValuesXML">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//BitsetFeatureValuesXML/bitmask"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//BitsetFeatureValuesXML/exactMatch"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//CFEDescriptorXML">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//CFEDescriptorXML/targetAnnotations"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//CFEDescriptorXML/nullValueImage"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//DocumentRoot">
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//DocumentRoot/mixed"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference config.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference config.ecore#//DocumentRoot/xSISchemaLocation"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//DocumentRoot/cFEConfig"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//EnumFeatureValuesXML">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//EnumFeatureValuesXML/values"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//EnumFeatureValuesXML/caseSensitive"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//FeatureObjectMatcherXML">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//FeatureObjectMatcherXML/distance"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//FeatureObjectMatcherXML/orientation"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//FeatureObjectMatcherXML/windowFlags"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//FeatureObjectMatcherXML/windowsizeEnclosed"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//FeatureObjectMatcherXML/windowsizeInside"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//FeatureObjectMatcherXML/windowsizeLeft"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//FeatureObjectMatcherXML/windowsizeRight"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//GroupFeatureMatcherXML">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//GroupFeatureMatcherXML/featureMatchers"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//GroupFeatureMatcherXML/exclude"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//ObjectPathFeatureValuesXML">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//ObjectPathFeatureValuesXML/objectPath"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//PartialObjectMatcherXML">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//PartialObjectMatcherXML/groupFeatureMatchers"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//PartialObjectMatcherXML/annotationTypeName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//PartialObjectMatcherXML/fullPath"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//PatternFeatureValuesXML">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//PatternFeatureValuesXML/pattern"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//RangeFeatureValuesXML">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//RangeFeatureValuesXML/lowerBoundary"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//RangeFeatureValuesXML/lowerBoundaryInclusive"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//RangeFeatureValuesXML/upperBoundary"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//RangeFeatureValuesXML/upperBoundaryInclusive"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//SingleFeatureMatcherXML">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//SingleFeatureMatcherXML/rangeFeatureValues"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//SingleFeatureMatcherXML/enumFeatureValues"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//SingleFeatureMatcherXML/bitsetFeatureValues"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//SingleFeatureMatcherXML/objectPathFeatureValues"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//SingleFeatureMatcherXML/patternFeatureValues"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//SingleFeatureMatcherXML/exclude"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//SingleFeatureMatcherXML/featurePath"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//SingleFeatureMatcherXML/featureTypeName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//SingleFeatureMatcherXML/quiet"/>
+    </genClasses>
+    <genClasses ecoreClass="config.ecore#//TargetAnnotationXML">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//TargetAnnotationXML/targetAnnotationMatcher"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference config.ecore#//TargetAnnotationXML/featureAnnotationMatchers"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//TargetAnnotationXML/className"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute config.ecore#//TargetAnnotationXML/enclosingAnnotation"/>
+    </genClasses>
+  </genPackages>
+</genmodel:GenModel>

Added: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/config.ecore
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/config.ecore?rev=818885&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/config.ecore (added)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/cfeModelGen/config.ecore Fri Sep 25 15:27:43 2009
@@ -0,0 +1,384 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+    xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="config"
+    nsURI="http://www.apache.org/uima/tools/cfe/config" nsPrefix="config">
+  <eClassifiers xsi:type="ecore:EClass" name="BitsetFeatureValuesXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="BitsetFeatureValuesXML"/>
+      <details key="kind" value="empty"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="bitmask" lowerBound="1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="bitmask"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="exactMatch" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="exact_match"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="CFEDescriptorXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="CFEDescriptorXML"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="targetAnnotations" lowerBound="1"
+        upperBound="-1" eType="#//TargetAnnotationXML" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="targetAnnotations"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="nullValueImage" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="nullValueImage"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value=""/>
+      <details key="kind" value="mixed"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="elementWildcard"/>
+        <details key="name" value=":mixed"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+        eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+        transient="true" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="xmlns:prefix"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+        eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+        transient="true" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="xsi:schemaLocation"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="cFEConfig" upperBound="-2"
+        eType="#//CFEDescriptorXML" volatile="true" transient="true" derived="true"
+        containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="CFEConfig"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="EnumFeatureValuesXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="EnumFeatureValuesXML"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="values" unique="false"
+        upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="values"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="caseSensitive" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="caseSensitive"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="FeatureObjectMatcherXML" eSuperTypes="#//PartialObjectMatcherXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="FeatureObjectMatcherXML"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="distance"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="orientation" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="orientation"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="windowFlags" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+        unsettable="true">
+      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+        <details key="documentation" value="&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;in class CommonFeatureMatcher&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;the following flg constants are defined&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_LEFTLEFT // 1 feature&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;annotation starts left from the target ends&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;left from the target&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_LEFTINSIDE // 2 feature&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;annotation starts left from the target ends&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;inside the target&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_LEFTRIGHT  // 4 feature&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;annotation starts left from the target ends&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;right from the target&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_INSIDEINSIDE // 8 f
 eature&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;annotation starts inside the target ends&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;inside the target&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_INSIDERIGHT // 16 feature&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;annotation starts inside the target ends&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;right from the target&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_RIGHTRIGHT  // 32 feature&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;annotation starts right from the target ends&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;right from the target&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;// any annotation that starts left from the&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;target&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_STARTSLEFT = CONSTANT_LEFTLEFT |&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_LEFTINSIDE | CONSTANT_LEFTRIGHT;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9
 ;&#x9;&#x9;// 7&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;// any annotation that starts inside the&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;target&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_STARTSINSIDE =&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_INSIDEINSIDE|CONSTANT_INSIDERIGHT;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;// 24&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;// any annotation that starts right from the&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;target&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_STARTSRIGHT = CONSTANT_RIGHTRIGHT;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;// 32&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;// any annotation that is within the span&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;of enclosing annotation&#xD;&#xA;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_ANYENCLOSED = CONSTANT_STARTSLEFT |&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_STARTSINSI
 DE |&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;CONSTANT_STARTSRIGHT;&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;// 63&#xD;&#xA;    &#x9;&#x9;&#x9;&#x9;&#x9;"/>
+      </eAnnotations>
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="windowFlags"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="windowsizeEnclosed" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="windowsizeEnclosed"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="windowsizeInside" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="windowsizeInside"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="windowsizeLeft" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="windowsizeLeft"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="windowsizeRight" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="windowsizeRight"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="GroupFeatureMatcherXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="GroupFeatureMatcherXML"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="featureMatchers" lowerBound="1"
+        upperBound="-1" eType="#//SingleFeatureMatcherXML" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="featureMatchers"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="exclude" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="exclude"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="ObjectPathFeatureValuesXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="ObjectPathFeatureValuesXML"/>
+      <details key="kind" value="empty"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="objectPath" lowerBound="1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="objectPath"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="PartialObjectMatcherXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="PartialObjectMatcherXML"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="groupFeatureMatchers" upperBound="-1"
+        eType="#//GroupFeatureMatcherXML" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="groupFeatureMatchers"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="annotationTypeName" lowerBound="1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="annotationTypeName"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="fullPath" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="fullPath"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="PatternFeatureValuesXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="PatternFeatureValuesXML"/>
+      <details key="kind" value="empty"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="pattern" lowerBound="1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="pattern"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="RangeFeatureValuesXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="RangeFeatureValuesXML"/>
+      <details key="kind" value="empty"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="lowerBoundary" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnySimpleType">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="lowerBoundary"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="lowerBoundaryInclusive"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="lowerBoundaryInclusive"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="upperBoundary" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnySimpleType">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="upperBoundary"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="upperBoundaryInclusive"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="upperBoundaryInclusive"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="SingleFeatureMatcherXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="SingleFeatureMatcherXML"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="rangeFeatureValues" eType="#//RangeFeatureValuesXML"
+        containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="rangeFeatureValues"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="enumFeatureValues" eType="#//EnumFeatureValuesXML"
+        containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="enumFeatureValues"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="bitsetFeatureValues" eType="#//BitsetFeatureValuesXML"
+        containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="bitsetFeatureValues"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="objectPathFeatureValues"
+        eType="#//ObjectPathFeatureValuesXML" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="objectPathFeatureValues"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="patternFeatureValues" eType="#//PatternFeatureValuesXML"
+        containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="patternFeatureValues"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="exclude" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="exclude"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="featurePath" lowerBound="1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="featurePath"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="featureTypeName" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="featureTypeName"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="quiet" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+        unsettable="true">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="quiet"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="TargetAnnotationXML">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="TargetAnnotationXML"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="targetAnnotationMatcher"
+        lowerBound="1" eType="#//PartialObjectMatcherXML" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="targetAnnotationMatcher"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="featureAnnotationMatchers"
+        upperBound="-1" eType="#//FeatureObjectMatcherXML" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="featureAnnotationMatchers"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="className" lowerBound="1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+        <details key="documentation" value="class id for RRM training"/>
+      </eAnnotations>
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="className"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="enclosingAnnotation" lowerBound="1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="enclosingAnnotation"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+</ecore:EPackage>

Modified: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/docs/pdf/CFE_UG.pdf
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/docs/pdf/CFE_UG.pdf?rev=818885&r1=818884&r2=818885&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/pom.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/pom.xml?rev=818885&r1=818884&r2=818885&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/pom.xml (original)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/pom.xml Fri Sep 25 15:27:43 2009
@@ -105,7 +105,7 @@
           <execution>
             <goals><goal>xmlbeans</goal></goals>
             <configuration>
-              <schemaDirectory>src/main/java/org/apache/uima/tools/cfe</schemaDirectory>
+              <schemaDirectory>src/main/xsdForXMLBeans</schemaDirectory>
             </configuration>        
           </execution>
         </executions>
@@ -167,6 +167,7 @@
             <configuration>
               <excludes>
                 <exclude>docs/html/images/*.svg</exclude> <!-- generated image files for docbook -->
+                <exclude>cfeModelGen/*</exclude> <!-- generated EMF model files -->
               </excludes>
             </configuration>
           </execution>

Added: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/xsdForEmf/CFEConfigModel.xsd
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/xsdForEmf/CFEConfigModel.xsd?rev=818885&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/xsdForEmf/CFEConfigModel.xsd (added)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/xsdForEmf/CFEConfigModel.xsd Fri Sep 25 15:27:43 2009
@@ -0,0 +1,193 @@
+<?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.    
+-->  
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+  targetNamespace="http://www.apache.org/uima/tools/cfe/config" 
+        xmlns:tns="http://www.apache.org/uima/tools/cfe/config"
+  elementFormDefault="qualified">
+
+    <complexType name="SingleFeatureMatcherXML">
+    	<choice>
+    		<element name="rangeFeatureValues"
+    			type="tns:RangeFeatureValuesXML" minOccurs="0" maxOccurs="1">
+    		</element>
+    		<element name="enumFeatureValues"
+    			type="tns:EnumFeatureValuesXML" minOccurs="0" maxOccurs="1">
+    		</element>
+    		<element name="bitsetFeatureValues"
+    			type="tns:BitsetFeatureValuesXML" maxOccurs="1" minOccurs="0">
+    		</element>
+    		<element name="objectPathFeatureValues"
+    			type="tns:ObjectPathFeatureValuesXML" maxOccurs="1"
+    			minOccurs="0">
+    		</element>
+    		<element name="patternFeatureValues"
+    			type="tns:PatternFeatureValuesXML" maxOccurs="1" minOccurs="0">
+    		</element>
+    	</choice>
+    	<attribute name="featureTypeName" type="string"
+    		use="optional">
+    	</attribute>
+    	<attribute name="featurePath" type="string" use="required"></attribute>
+    	<attribute name="exclude" use="optional" type="boolean"></attribute>
+    	<attribute name="quiet" type="boolean" use="optional"></attribute>
+    </complexType>
+
+    <complexType name="GroupFeatureMatcherXML">
+    	<sequence>
+    		<element name="featureMatchers" type="tns:SingleFeatureMatcherXML" maxOccurs="unbounded" minOccurs="1"></element>
+    		<element name="exclude" type="boolean" minOccurs="0" maxOccurs="1"></element>
+    	</sequence>
+    </complexType>
+    
+
+    <complexType name="PartialObjectMatcherXML">
+    	<sequence>
+    		<element name="groupFeatureMatchers" type="tns:GroupFeatureMatcherXML" maxOccurs="unbounded" minOccurs="0"></element>
+    	</sequence>
+    	<attribute name="annotationTypeName" type="string" use="required"></attribute>
+    	<attribute name="fullPath" type="string" use="optional"></attribute>
+    </complexType>
+
+
+    <complexType name="TargetAnnotationXML">
+    	<sequence>
+    		<element name="targetAnnotationMatcher" type="tns:PartialObjectMatcherXML" minOccurs="1" maxOccurs="1"></element>
+    		<element name="featureAnnotationMatchers" type="tns:FeatureObjectMatcherXML" maxOccurs="unbounded" minOccurs="0"></element>
+    	</sequence>
+    	<attribute name="className" type="string" use="required">
+    		<annotation>
+    			<documentation>class id for RRM training</documentation>
+    		</annotation>
+    	</attribute>
+    	<attribute name="enclosingAnnotation" type="string" use="required"></attribute>
+    </complexType>
+
+    <complexType name="CFEDescriptorXML">
+    	<sequence>
+    		<element name="targetAnnotations" type="tns:TargetAnnotationXML" maxOccurs="unbounded" minOccurs="1"></element>
+    	</sequence>
+    	<attribute name="nullValueImage" type="string" use="optional"></attribute>
+    </complexType>
+
+
+    <element name="CFEConfig" type="tns:CFEDescriptorXML"></element>
+
+    <complexType name="EnumFeatureValuesXML">
+    	<sequence>
+    		<element name="values" type="string" maxOccurs="unbounded" minOccurs="0"></element>
+    	</sequence>
+    	<attribute name="caseSensitive" type="boolean" use="optional"></attribute>
+    </complexType>
+
+
+    <complexType name="RangeFeatureValuesXML">
+    	<attribute name="lowerBoundaryInclusive" type="boolean" use="optional"></attribute>
+    	<attribute name="upperBoundaryInclusive" type="boolean" use="optional"></attribute>
+    	<attribute name="lowerBoundary" use="optional"></attribute>
+    	<attribute name="upperBoundary" use="optional"></attribute>
+    </complexType>
+
+    <complexType name="FeatureObjectMatcherXML">
+    	<complexContent>
+    		<extension base="tns:PartialObjectMatcherXML">
+    			<sequence></sequence>
+    			<attribute name="windowsizeLeft" type="int" use="optional"></attribute>
+    			<attribute name="windowsizeInside" type="int" use="optional"></attribute>
+    			<attribute name="windowsizeRight" type="int" use="optional"></attribute>
+    			<attribute name="windowsizeEnclosed" type="int" use="optional"></attribute>
+    			<attribute name="windowFlags" type="int" use="optional">
+    				<annotation>
+    					<documentation>
+    						in class CommonFeatureMatcher
+    						the following flg constants are defined
+
+    						CONSTANT_LEFTLEFT // 1 feature
+    						annotation starts left from the target ends
+    						left from the target
+
+    						CONSTANT_LEFTINSIDE // 2 feature
+    						annotation starts left from the target ends
+    						inside the target
+
+    						CONSTANT_LEFTRIGHT  // 4 feature
+    						annotation starts left from the target ends
+    						right from the target
+
+    						CONSTANT_INSIDEINSIDE // 8 feature
+    						annotation starts inside the target ends
+    						inside the target
+
+    						CONSTANT_INSIDERIGHT // 16 feature
+    						annotation starts inside the target ends
+    						right from the target
+
+    						CONSTANT_RIGHTRIGHT  // 32 feature
+    						annotation starts right from the target ends
+    						right from the target
+
+    						// any annotation that starts left from the
+    						target
+
+    						CONSTANT_STARTSLEFT = CONSTANT_LEFTLEFT |
+    						CONSTANT_LEFTINSIDE | CONSTANT_LEFTRIGHT;
+    						// 7
+
+    						// any annotation that starts inside the
+    						target
+
+    						CONSTANT_STARTSINSIDE =
+    						CONSTANT_INSIDEINSIDE|CONSTANT_INSIDERIGHT;
+    						// 24
+
+    						// any annotation that starts right from the
+    						target
+
+    						CONSTANT_STARTSRIGHT = CONSTANT_RIGHTRIGHT;
+    						// 32
+
+    						// any annotation that is within the span
+    						of enclosing annotation
+
+    						CONSTANT_ANYENCLOSED = CONSTANT_STARTSLEFT |
+    						CONSTANT_STARTSINSIDE |
+    						CONSTANT_STARTSRIGHT;
+    						// 63
+    					</documentation>
+    				</annotation>
+    			</attribute>
+    			<attribute name="orientation" type="boolean" use="optional"></attribute>
+    			<attribute name="distance" type="boolean" use="optional"></attribute>
+    		</extension>
+    	</complexContent>
+    </complexType>
+
+    <complexType name="BitsetFeatureValuesXML">
+    	<attribute name="bitmask" type="string" use="required"></attribute>
+    	<attribute name="exact_match" type="boolean" use="optional"></attribute>
+    </complexType>
+
+    <complexType name="ObjectPathFeatureValuesXML">
+    	<attribute name="objectPath" type="string" use="required"></attribute>
+    </complexType>
+
+    <complexType name="PatternFeatureValuesXML">
+    	<attribute name="pattern" type="string" use="required"></attribute>
+    </complexType>
+</schema>
\ No newline at end of file