incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1396781 - in /incubator/ctakes/trunk: ctakes-pad-term-spotter/src/main/resources/org/apache/ctakes/padtermspotter/types/ ctakes-smoking-status/desc/analysis_engine/ ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ ct...
Date Wed, 10 Oct 2012 20:37:26 GMT
Author: chenpei
Date: Wed Oct 10 20:37:25 2012
New Revision: 1396781

URL: http://svn.apache.org/viewvc?rev=1396781&view=rev
Log:
There are 2 projects (sideeffect and padtermspotter) that has a type system which imports
other type system files from it’s own project which seemed to cause issues with Ubuntu not
picking them up).  I didn’t get a chance to debug deeply as there’s a fairly easy workaround
(I just merged them).

Removed:
    incubator/ctakes/trunk/ctakes-pad-term-spotter/src/main/resources/org/apache/ctakes/padtermspotter/types/SubSection.xml
    incubator/ctakes/trunk/ctakes-smoking-status/src/main/resources/org/apache/ctakes/smokingstatus/types/I2b2TypeSystem.xml
    incubator/ctakes/trunk/ctakes-smoking-status/src/main/resources/org/apache/ctakes/smokingstatus/types/LibSVMTypeSystem.xml
Modified:
    incubator/ctakes/trunk/ctakes-pad-term-spotter/src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml
    incubator/ctakes/trunk/ctakes-smoking-status/desc/analysis_engine/PcsClassifierAnnotator_libsvm.xml
    incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ClassifiableEntries.java
    incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/KuRuleBasedClassifierAnnotator.java
    incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/PcsClassifierAnnotator_libsvm.java
    incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ResolutionAnnotator.java
    incubator/ctakes/trunk/ctakes-smoking-status/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml

Modified: incubator/ctakes/trunk/ctakes-pad-term-spotter/src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-pad-term-spotter/src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml?rev=1396781&r1=1396780&r2=1396781&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-pad-term-spotter/src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml
(original)
+++ incubator/ctakes/trunk/ctakes-pad-term-spotter/src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml
Wed Oct 10 20:37:25 2012
@@ -1,101 +1,148 @@
 <?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.
-
--->
+<!-- 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. -->
 <typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
-  <name>org.apache.ctakes.padtermspotter.types.TypeSystem</name>
-  <description>Represents Term and Location entities required for PAD project.</description>
-  <version>1.0</version>
-  <vendor>Mayo</vendor>
-  <imports>
-    <import name="org.apache.ctakes.typesystem.types.TypeSystem"/>
-    <import location="SubSection.xml"/>
-  </imports>
-  <types>
-    <typeDescription>
-      <name>org.apache.ctakes.padtermspotter.type.PADTerm</name>
-      <description/>
-      <supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation</supertypeName>
-      <features>
-        <featureDescription>
-          <name>hitDictionaryValue</name>
-          <description>Value from the Dictionary that was successfully looked up</description>
-          <rangeTypeName>uima.cas.String</rangeTypeName>
-        </featureDescription>
-        <featureDescription>
-          <name>isStandAlone</name>
-          <description>Identifies weather this term needs another dictionary hit to
be considered as a valid hit. Currently this is being used for Unstable Angina which requires
"Term" and "Location" to be present in the text to be considered as a valid hit.
-
-Valid values are 0 and 1. Where, 0 is false (not standalone) and 1 is true (is standalone)</description>
-          <rangeTypeName>uima.cas.Integer</rangeTypeName>
-        </featureDescription>
-        <featureDescription>
-          <name>relatedTokens</name>
-          <description>identifies the token that this PADTerm spans</description>
-          <rangeTypeName>uima.cas.FSArray</rangeTypeName>
-        </featureDescription>
-      </features>
-    </typeDescription>
-    <typeDescription>
-      <name>org.apache.ctakes.padtermspotter.type.PADLocation</name>
-      <description/>
-      <supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation</supertypeName>
-      <features>
-        <featureDescription>
-          <name>hitDictionaryValue</name>
-          <description>Value from the Dictionary that was successfully looked up</description>
-          <rangeTypeName>uima.cas.String</rangeTypeName>
-        </featureDescription>
-        <featureDescription>
-          <name>isStandAlone</name>
-          <description>Identifies weather this term needs another dictionary hit to
be considered as a valid hit. Currently this is being used for Unstable Angina which requires
"Term" and "Location" to be present in the text to be considered as a valid hit.
-
-Valid values are 0 and 1. Where, 0 is false (not standalone) and 1 is true (is standalone)</description>
-          <rangeTypeName>uima.cas.Integer</rangeTypeName>
-        </featureDescription>
-        <featureDescription>
-          <name>relatedTokens</name>
-          <description>identifies the token that this PADTerm spans</description>
-          <rangeTypeName>uima.cas.FSArray</rangeTypeName>
-        </featureDescription>
-      </features>
-    </typeDescription>
-    <typeDescription>
-      <name>org.apache.ctakes.padtermspotter.type.PADHit</name>
-      <description>Would represent one of the following
-Term (in the case of a stand alone term)
-Term + Location
-Location + term</description>
-      <supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation</supertypeName>
-      <features>
-        <featureDescription>
-          <name>uaTerm</name>
-          <description/>
-          <rangeTypeName>org.apache.ctakes.padtermspotter.type.PADTerm</rangeTypeName>
-        </featureDescription>
-        <featureDescription>
-          <name>uaLocation</name>
-          <description/>
-          <rangeTypeName>org.apache.ctakes.padtermspotter.type.PADLocation</rangeTypeName>
-        </featureDescription>
-      </features>
-    </typeDescription>
-  </types>
+	<name>org.apache.ctakes.padtermspotter.types.TypeSystem</name>
+	<description>Represents Term and Location entities required for PAD
+		project.</description>
+	<version>1.0</version>
+	<vendor>Mayo</vendor>
+	<imports>
+		<import name="org.apache.ctakes.typesystem.types.TypeSystem" />
+	</imports>
+	<types>
+		<typeDescription>
+			<name>org.apache.ctakes.padtermspotter.type.PADTerm</name>
+			<description />
+			<supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>hitDictionaryValue</name>
+					<description>Value from the Dictionary that was successfully looked
+						up</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>isStandAlone</name>
+					<description>Identifies weather this term needs another dictionary
+						hit to be considered as a valid hit. Currently this is being used
+						for Unstable Angina which requires "Term" and "Location" to be
+						present in the text to be considered as a valid hit.
+
+						Valid values are 0 and 1. Where, 0 is false (not standalone) and 1 is
+						true (is standalone)
+					</description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>relatedTokens</name>
+					<description>identifies the token that this PADTerm spans
+					</description>
+					<rangeTypeName>uima.cas.FSArray</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.padtermspotter.type.PADLocation</name>
+			<description />
+			<supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>hitDictionaryValue</name>
+					<description>Value from the Dictionary that was successfully looked
+						up</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>isStandAlone</name>
+					<description>Identifies weather this term needs another dictionary
+						hit to be considered as a valid hit. Currently this is being used
+						for Unstable Angina which requires "Term" and "Location" to be
+						present in the text to be considered as a valid hit.
+
+						Valid values are 0 and 1. Where, 0 is false (not standalone) and 1 is
+						true (is standalone)
+					</description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>relatedTokens</name>
+					<description>identifies the token that this PADTerm spans
+					</description>
+					<rangeTypeName>uima.cas.FSArray</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.padtermspotter.type.PADHit</name>
+			<description>Would represent one of the following
+				Term (in the case of a stand alone term)
+				Term + Location
+				Location + term
+			</description>
+			<supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>uaTerm</name>
+					<description />
+					<rangeTypeName>org.apache.ctakes.padtermspotter.type.PADTerm
+					</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>uaLocation</name>
+					<description />
+					<rangeTypeName>org.apache.ctakes.padtermspotter.type.PADLocation
+					</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.padtermspotter.type.SubSection</name>
+			<description></description>
+			<supertypeName>uima.tcas.Annotation</supertypeName>
+			<features>
+				<featureDescription>
+					<name>parentSectionId</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>subSectionBodyBegin</name>
+					<description></description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>subSectionBodyEnd</name>
+					<description></description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>status</name>
+					<description></description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>subSectionHeaderBegin</name>
+					<description></description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>subSectionHeaderEnd</name>
+					<description></description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+	</types>
 </typeSystemDescription>

Modified: incubator/ctakes/trunk/ctakes-smoking-status/desc/analysis_engine/PcsClassifierAnnotator_libsvm.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-smoking-status/desc/analysis_engine/PcsClassifierAnnotator_libsvm.xml?rev=1396781&r1=1396780&r2=1396781&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-smoking-status/desc/analysis_engine/PcsClassifierAnnotator_libsvm.xml
(original)
+++ incubator/ctakes/trunk/ctakes-smoking-status/desc/analysis_engine/PcsClassifierAnnotator_libsvm.xml
Wed Oct 10 20:37:25 2012
@@ -57,10 +57,10 @@
 <type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.syntax.BaseToken</type>
 </inputs>
 <outputs>
-<type allAnnotatorFeatures="true">edu.mayo.bmi.uima.libsvm.types.StringAttributeValue</type>
-<type allAnnotatorFeatures="true">edu.mayo.bmi.uima.libsvm.types.NumericAttributeValue</type>
-<type allAnnotatorFeatures="true">edu.mayo.bmi.uima.libsvm.types.DateAttributeValue</type>
-<type allAnnotatorFeatures="true">edu.mayo.bmi.uima.libsvm.types.AttributeValue</type>
+<type allAnnotatorFeatures="true">org.apache.ctakes.smokingstatus.type.libsvms.StringAttributeValue</type>
+<type allAnnotatorFeatures="true">org.apache.ctakes.smokingstatus.type.libsvms.NumericAttributeValue</type>
+<type allAnnotatorFeatures="true">org.apache.ctakes.smokingstatus.type.libsvms.DateAttributeValue</type>
+<type allAnnotatorFeatures="true">org.apache.ctakes.smokingstatus.type.libsvms.AttributeValue</type>
 </outputs>
 <languagesSupported/>
 </capability>

Modified: incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ClassifiableEntries.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ClassifiableEntries.java?rev=1396781&r1=1396780&r2=1396781&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ClassifiableEntries.java
(original)
+++ incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ClassifiableEntries.java
Wed Oct 10 20:37:25 2012
@@ -64,7 +64,7 @@ import org.apache.ctakes.smokingstatus.u
 import org.apache.ctakes.typesystem.type.structured.DocumentID;
 import org.apache.ctakes.typesystem.type.textspan.Segment;
 import org.apache.ctakes.typesystem.type.textspan.Sentence;
-import edu.mayo.bmi.uima.libsvm.type.NominalAttributeValue;
+import org.apache.ctakes.smokingstatus.type.libsvm.NominalAttributeValue;
 
 /**
  * @author Mayo Clinic Intended as an annotator to generate ClassifiableEntries

Modified: incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/KuRuleBasedClassifierAnnotator.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/KuRuleBasedClassifierAnnotator.java?rev=1396781&r1=1396780&r2=1396781&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/KuRuleBasedClassifierAnnotator.java
(original)
+++ incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/KuRuleBasedClassifierAnnotator.java
Wed Oct 10 20:37:25 2012
@@ -36,7 +36,7 @@ import org.apache.ctakes.smokingstatus.t
 import org.apache.ctakes.core.resource.FileLocator;
 import org.apache.ctakes.smokingstatus.Const;
 import org.apache.ctakes.typesystem.type.syntax.WordToken;
-import edu.mayo.bmi.uima.libsvm.type.NominalAttributeValue;
+import org.apache.ctakes.smokingstatus.type.libsvm.NominalAttributeValue;
 
 public class KuRuleBasedClassifierAnnotator extends JCasAnnotator_ImplBase {
 	Set<String> smokingWords; // smoking related words

Modified: incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/PcsClassifierAnnotator_libsvm.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/PcsClassifierAnnotator_libsvm.java?rev=1396781&r1=1396780&r2=1396781&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/PcsClassifierAnnotator_libsvm.java
(original)
+++ incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/PcsClassifierAnnotator_libsvm.java
Wed Oct 10 20:37:25 2012
@@ -43,7 +43,7 @@ import org.apache.uima.resource.Resource
 import org.apache.ctakes.core.resource.FileResource;
 import org.apache.ctakes.smokingstatus.Const;
 import org.apache.ctakes.typesystem.type.syntax.WordToken;
-import edu.mayo.bmi.uima.libsvm.type.NominalAttributeValue;
+import org.apache.ctakes.smokingstatus.type.libsvm.NominalAttributeValue;
 
 public class PcsClassifierAnnotator_libsvm extends JCasAnnotator_ImplBase {
 	Set<String> stopWords;

Modified: incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ResolutionAnnotator.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ResolutionAnnotator.java?rev=1396781&r1=1396780&r2=1396781&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ResolutionAnnotator.java
(original)
+++ incubator/ctakes/trunk/ctakes-smoking-status/src/main/java/org/apache/ctakes/smokingstatus/ae/ResolutionAnnotator.java
Wed Oct 10 20:37:25 2012
@@ -43,7 +43,7 @@ import org.apache.ctakes.core.resource.F
 import org.apache.ctakes.smokingstatus.Const;
 import org.apache.ctakes.typesystem.type.syntax.WordToken;
 import org.apache.ctakes.typesystem.type.textspan.Sentence;
-import edu.mayo.bmi.uima.libsvm.type.NominalAttributeValue;
+import org.apache.ctakes.smokingstatus.type.libsvm.NominalAttributeValue;
 
 /**
  * Resolves the data produced by the KU classifier, negation detection, and PCS

Modified: incubator/ctakes/trunk/ctakes-smoking-status/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-smoking-status/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml?rev=1396781&r1=1396780&r2=1396781&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-smoking-status/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml
(original)
+++ incubator/ctakes/trunk/ctakes-smoking-status/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml
Wed Oct 10 20:37:25 2012
@@ -1,93 +1,180 @@
 <?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.
-
--->
+<!-- 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. -->
 <typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
-  <name>org.apache.ctakes.smokingstatus.types.TypeSystem</name>
-  <description/>
-  <version>1.0</version>
-  <vendor/>
-  <imports>
-    <import name="org.apache.ctakes.typesystem.types.TypeSystem"/>
-    <import location="LibSVMTypeSystem.xml"/>
-    <import location="I2B2TypeSystem.xml"/>
-  </imports>
-  <types>
-    <typeDescription>
-      <name>org.apache.ctakes.smokingstatus.i2b2.type.RecordSentence</name>
-      <description>Represents a single sentence from an I2B2 record.</description>
-      <supertypeName>uima.tcas.Annotation</supertypeName>
-      <features>
-        <featureDescription>
-          <name>recordID</name>
-          <description>ID of record that this sentence belongs to.</description>
-          <rangeTypeName>uima.cas.String</rangeTypeName>
-        </featureDescription>
-        <featureDescription>
-          <name>classification</name>
-          <description>Smoking status classification for the given sentence.</description>
-          <rangeTypeName>uima.cas.String</rangeTypeName>
-        </featureDescription>
-        <featureDescription>
-          <name>recordTextBegin</name>
-          <description>Begin offset of the sentence relative to the entire record text.</description>
-          <rangeTypeName>uima.cas.Integer</rangeTypeName>
-        </featureDescription>
-        <featureDescription>
-          <name>recordTextEnd</name>
-          <description>End offset of the sentence relative to the entire record text.</description>
-          <rangeTypeName>uima.cas.Integer</rangeTypeName>
-        </featureDescription>
-      </features>
-    </typeDescription>
-    <typeDescription>
-      <name>org.apache.ctakes.smokingstatus.type.SmokerNamedEntityAnnotation</name>
-      <description/>
-      <supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation</supertypeName>
-    </typeDescription>
-    <typeDescription>
-      <name>org.apache.ctakes.smokingstatus.type.NonSmokerNamedEntityAnnotation</name>
-      <description/>
-      <supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation</supertypeName>
-    </typeDescription>
-    <typeDescription>
-      <name>org.apache.ctakes.smokingstatus.type.SmokingDocumentClassification</name>
-      <description>Represents classification related to the document</description>
-      <supertypeName>uima.tcas.Annotation</supertypeName>
-      <features>
-        <featureDescription>
-          <name>classification</name>
-          <description>represents the document level classification that RecordResolutionAnnotator
assigns</description>
-          <rangeTypeName>uima.cas.String</rangeTypeName>
-        </featureDescription>
-        <featureDescription>
-          <name>recordID</name>
-          <description>Represents the document record id</description>
-          <rangeTypeName>uima.cas.String</rangeTypeName>
-        </featureDescription>
-      </features>
-    </typeDescription>
-    <typeDescription>
-      <name>org.apache.ctakes.smokingstatus.type.UnknownSmokerNamedEntityAnnotation</name>
-      <description/>
-      <supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation</supertypeName>
-    </typeDescription>
-  </types>
+	<name>org.apache.ctakes.smokingstatus.types.TypeSystem</name>
+	<description />
+	<version>1.0</version>
+	<vendor />
+	<imports>
+		<import name="org.apache.ctakes.typesystem.types.TypeSystem" />
+	</imports>
+	<types>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.i2b2.type.RecordSentence</name>
+			<description>Represents a single sentence from an I2B2 record.
+			</description>
+			<supertypeName>uima.tcas.Annotation</supertypeName>
+			<features>
+				<featureDescription>
+					<name>recordID</name>
+					<description>ID of record that this sentence belongs to.
+					</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>classification</name>
+					<description>Smoking status classification for the given sentence.
+					</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>recordTextBegin</name>
+					<description>Begin offset of the sentence relative to the entire
+						record text.
+					</description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>recordTextEnd</name>
+					<description>End offset of the sentence relative to the entire
+						record text.
+					</description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.SmokerNamedEntityAnnotation
+			</name>
+			<description />
+			<supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
+			</supertypeName>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.NonSmokerNamedEntityAnnotation
+			</name>
+			<description />
+			<supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
+			</supertypeName>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.SmokingDocumentClassification
+			</name>
+			<description>Represents classification related to the document
+			</description>
+			<supertypeName>uima.tcas.Annotation</supertypeName>
+			<features>
+				<featureDescription>
+					<name>classification</name>
+					<description>represents the document level classification that
+						RecordResolutionAnnotator assigns
+					</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>recordID</name>
+					<description>Represents the document record id</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.UnknownSmokerNamedEntityAnnotation
+			</name>
+			<description />
+			<supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
+			</supertypeName>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.NumericAttributeValue
+			</name>
+			<description>Corresponds to the ARFF numeric attributes.
+			</description>
+			<supertypeName>org.apache.ctakes.smokingstatus.type.libsvm.AttributeValue
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>numericValue</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.AttributeValue
+			</name>
+			<description></description>
+			<supertypeName>uima.tcas.Annotation</supertypeName>
+			<features>
+				<featureDescription>
+					<name>attributeName</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.NominalAttributeValue
+			</name>
+			<description></description>
+			<supertypeName>org.apache.ctakes.smokingstatus.type.libsvm.AttributeValue
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>nominalValue</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.StringAttributeValue
+			</name>
+			<description></description>
+			<supertypeName>org.apache.ctakes.smokingstatus.type.libsvm.AttributeValue
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>attributeStringValue</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.DateAttributeValue
+			</name>
+			<description></description>
+			<supertypeName>org.apache.ctakes.smokingstatus.type.libsvm.AttributeValue
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>dateValue</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.DocumentID</name>
+			<description></description>
+			<supertypeName>uima.tcas.Annotation</supertypeName>
+			<features>
+				<featureDescription>
+					<name>documentID</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+	</types>
 </typeSystemDescription>



Mime
View raw message