public class Compound
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Class and Description |
---|---|
static class |
Compound.CompoundSplitLevel
Enum for all possible split levels for decompounding
|
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Compound()
Never called.
|
|
Compound(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
Compound(org.apache.uima.jcas.JCas jcas) |
|
Compound(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
org.apache.uima.jcas.cas.FSArray |
getSplits()
getter for splits - gets A word that can be decomposed into different parts.
|
Split |
getSplits(int i)
indexed getter for splits - gets an indexed value - A word that can be decomposed into different parts.
|
Split[] |
getSplitsWithMorpheme(Compound.CompoundSplitLevel splitLevel)
Returns the splits from each leave from the split tree, including the linking morphemes
|
Split[] |
getSplitsWithoutMorpheme(Compound.CompoundSplitLevel splitLevel)
Returns the splits from each leave from the split tree, excluding the linking morphemes
|
int |
getTypeIndexID() |
void |
setSplits(org.apache.uima.jcas.cas.FSArray v)
setter for splits - sets A word that can be decomposed into different parts.
|
void |
setSplits(int i,
Split v)
indexed setter for splits - sets an indexed value - A word that can be decomposed into different parts.
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
clone, getavoidcollisionTypeCode, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
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
protected Compound()
public Compound(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Compound(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic Compound(org.apache.uima.jcas.JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
getTypeIndexID
in class org.apache.uima.jcas.tcas.Annotation
public org.apache.uima.jcas.cas.FSArray getSplits()
public void setSplits(org.apache.uima.jcas.cas.FSArray v)
v
- value to set into the featurepublic Split getSplits(int i)
i
- index in the array to getpublic void setSplits(int i, Split v)
i
- index in the array to setv
- value to set into the arraypublic Split[] getSplitsWithoutMorpheme(Compound.CompoundSplitLevel splitLevel)
splitLevel
- the split level.public Split[] getSplitsWithMorpheme(Compound.CompoundSplitLevel splitLevel)
splitLevel
- the split level.Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.