public class DramaUtil extends Object
| Constructor and Description |
|---|
DramaUtil() |
| Modifier and Type | Method and Description |
|---|---|
static FigureType |
assignFigureType(org.apache.uima.jcas.JCas jcas,
Figure figure,
String cl,
String value) |
static Collection<FigureType> |
getAllFigureTypes(Figure figure) |
static String |
getDisplayId(org.apache.uima.jcas.JCas jcas) |
static Collection<Figure> |
getFigures(Utterance u) |
static Figure |
getFirstFigure(Utterance u) |
static Speaker |
getFirstSpeaker(Utterance utterance) |
static Collection<Speaker> |
getSpeakers(Utterance utterance) |
static Collection<Speech> |
getSpeeches(org.apache.uima.jcas.JCas jcas,
Figure figure) |
static Collection<Speech> |
getSpeeches(org.apache.uima.jcas.JCas jcas,
Figure figure,
org.apache.uima.jcas.tcas.Annotation coveringAnnotation) |
static String |
getTypeValue(org.apache.uima.jcas.JCas jcas,
Figure figure,
String typeClass) |
static Collection<Utterance> |
selectFullUtterances(org.apache.uima.jcas.JCas jcas) |
public static Collection<Speech> getSpeeches(org.apache.uima.jcas.JCas jcas, Figure figure)
public static Collection<Speech> getSpeeches(org.apache.uima.jcas.JCas jcas, Figure figure, org.apache.uima.jcas.tcas.Annotation coveringAnnotation)
public static Collection<Speaker> getSpeakers(Utterance utterance)
public static Collection<Figure> getFigures(Utterance u)
public static Collection<Utterance> selectFullUtterances(org.apache.uima.jcas.JCas jcas)
public static FigureType assignFigureType(org.apache.uima.jcas.JCas jcas, Figure figure, String cl, String value)
public static Collection<FigureType> getAllFigureTypes(Figure figure)
public static String getTypeValue(org.apache.uima.jcas.JCas jcas, Figure figure, String typeClass)
public static String getDisplayId(org.apache.uima.jcas.JCas jcas)
Copyright © 2016. All rights reserved.