|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.uniroma2.art.coda.core.UIMACODAUtilities
public class UIMACODAUtilities
This class contains some methid that can be used as utilities regarding the use of UIMA in CODA
| Constructor Summary | |
|---|---|
UIMACODAUtilities()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getValueOfFeatureFromFeatPath(org.apache.uima.jcas.tcas.Annotation ann,
PlaceholderStruct placeholder)
Get a list of values in a particular annotation following the feature path contained in the placeholder |
java.util.List<java.lang.String> |
getValueOfFeatureFromFeatPath(org.apache.uima.jcas.tcas.Annotation ann,
java.lang.String uimaTypeAndFeat)
Get a list of values in a particular annotation following the feature path represented by uimaTypeAndFeat |
java.lang.String |
getValueOfFeatureFromFeatPathOneValue(org.apache.uima.jcas.tcas.Annotation ann,
PlaceholderStruct placeholder)
Get a value (normally the first if more than one is present) in a particular annotation following the feature path contained in the placeholder |
java.lang.String |
getValueOfFeatureFromFeatPathOneValue(org.apache.uima.jcas.tcas.Annotation ann,
java.lang.String uimaTypeAndFeat)
Get a value (normally the first if more than one is present) in a particular annotation following the feature path represented by uimaTypeAndFeat |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIMACODAUtilities()
| Method Detail |
|---|
public java.lang.String getValueOfFeatureFromFeatPathOneValue(org.apache.uima.jcas.tcas.Annotation ann,
PlaceholderStruct placeholder)
ann - the annotation where the value will be taken fromplaceholder - the placeholder containing the feature path
public java.lang.String getValueOfFeatureFromFeatPathOneValue(org.apache.uima.jcas.tcas.Annotation ann,
java.lang.String uimaTypeAndFeat)
ann - the annotation where the value will be taken fromuimaTypeAndFeat - the feature path
public java.util.List<java.lang.String> getValueOfFeatureFromFeatPath(org.apache.uima.jcas.tcas.Annotation ann,
PlaceholderStruct placeholder)
ann - the annotation where the value will be taken fromplaceholder - the placeholder containing the feature path
public java.util.List<java.lang.String> getValueOfFeatureFromFeatPath(org.apache.uima.jcas.tcas.Annotation ann,
java.lang.String uimaTypeAndFeat)
ann - the annotation where the value will be taken fromuimaTypeAndFeat - the feature path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||