public class TextGridUtil extends Object
| Constructor and Description |
|---|
TextGridUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fixFigureAnnotations(org.apache.uima.jcas.JCas jcas) |
static void |
fixSpeakerAnnotations(org.apache.uima.jcas.JCas jcas) |
static void |
getNext(org.apache.uima.jcas.JCas jcas,
InputStream file,
Drama drama) |
static void |
readActs(org.apache.uima.jcas.JCas jcas,
org.jsoup.nodes.Element root,
Map<String,HTMLAnnotation> map) |
static void |
readActsAndScenes(org.apache.uima.jcas.JCas jcas,
org.jsoup.nodes.Element root,
Map<String,HTMLAnnotation> map) |
static void |
readDramatisPersonae(org.apache.uima.jcas.JCas jcas,
org.jsoup.nodes.Element root,
Map<String,HTMLAnnotation> map) |
static void |
readScenes(org.apache.uima.jcas.JCas jcas,
org.jsoup.nodes.Element root,
Map<String,HTMLAnnotation> map)
Detect scenes.
|
public static void getNext(org.apache.uima.jcas.JCas jcas,
InputStream file,
Drama drama)
throws IOException,
org.apache.uima.collection.CollectionException
IOExceptionorg.apache.uima.collection.CollectionExceptionpublic static void readActs(org.apache.uima.jcas.JCas jcas,
org.jsoup.nodes.Element root,
Map<String,HTMLAnnotation> map)
public static void readScenes(org.apache.uima.jcas.JCas jcas,
org.jsoup.nodes.Element root,
Map<String,HTMLAnnotation> map)
type=scnee, we take
them and return.jcas - root - map - public static void readActsAndScenes(org.apache.uima.jcas.JCas jcas,
org.jsoup.nodes.Element root,
Map<String,HTMLAnnotation> map)
public static void readDramatisPersonae(org.apache.uima.jcas.JCas jcas,
org.jsoup.nodes.Element root,
Map<String,HTMLAnnotation> map)
public static void fixFigureAnnotations(org.apache.uima.jcas.JCas jcas)
public static void fixSpeakerAnnotations(org.apache.uima.jcas.JCas jcas)
Copyright © 2016. All rights reserved.