org.apache.ctakes.typesystem.type.textspan
Class Sentence
java.lang.Object
org.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.AnnotationBase
org.apache.uima.jcas.tcas.Annotation
org.apache.ctakes.typesystem.type.textspan.Sentence
- All Implemented Interfaces:
- Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS
public class Sentence
- extends org.apache.uima.jcas.tcas.Annotation
Sentences may or may not be fully-formed and
grammatical. They form the unit of analysis for some downstream
components (e.g., constituency parsers).
Equivalent to cTAKES:
edu.mayo.bmi.uima.core.type.Sentence
Updated by JCasGen Thu Nov 28 10:35:55 CST 2013
XML source: C:/build-Apache-cTAKES/ctakes-3.1.1/rc2/checkout/ctakes/target/checkout/ctakes-pad-term-spotter/src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml
Fields inherited from class org.apache.uima.jcas.cas.TOP |
addr, jcasType |
Constructor Summary |
protected |
Sentence()
Never called. |
|
Sentence(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator |
|
Sentence(org.apache.uima.jcas.JCas jcas)
|
|
Sentence(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
|
Methods inherited from class org.apache.uima.jcas.tcas.Annotation |
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd |
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase |
getSofa, getView |
Methods inherited from class org.apache.uima.jcas.cas.TOP |
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes |
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl |
clone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString |
Methods inherited from interface org.apache.uima.cas.AnnotationBaseFS |
getView |
Methods inherited from interface org.apache.uima.cas.FeatureStructure |
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue |
typeIndexID
public static final int typeIndexID
type
public static final int type
Sentence
protected Sentence()
- Never called. Disable default constructor
Sentence
public Sentence(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
- Internal - constructor used by generator
Sentence
public Sentence(org.apache.uima.jcas.JCas jcas)
Sentence
public Sentence(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
getTypeIndexID
public int getTypeIndexID()
- Overrides:
getTypeIndexID
in class org.apache.uima.jcas.tcas.Annotation
getSentenceNumber
public int getSentenceNumber()
- getter for sentenceNumber - gets
setSentenceNumber
public void setSentenceNumber(int v)
- setter for sentenceNumber - sets
getSegmentId
public String getSegmentId()
- getter for segmentId - gets
setSegmentId
public void setSegmentId(String v)
- setter for segmentId - sets
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.