public class TestRunner extends Object
Constructor and Description |
---|
TestRunner() |
Modifier and Type | Method and Description |
---|---|
static void |
autoloadModelsOnNextTestRun() |
static org.apache.uima.jcas.JCas |
runTest(org.apache.uima.analysis_engine.AnalysisEngineDescription aEngine,
String aLanguage,
String aDocument)
Run an analysis engine using a document.
|
static org.apache.uima.jcas.JCas |
runTest(org.apache.uima.analysis_engine.AnalysisEngine aEngine,
String aLanguage,
String aDocument)
Run an analysis engine using a document.
|
static org.apache.uima.jcas.JCas |
runTest(String aDocumentId,
org.apache.uima.analysis_engine.AnalysisEngineDescription aEngine,
String aLanguage,
String aDocument)
Run an analysis engine using a document.
|
static org.apache.uima.jcas.JCas |
runTest(String aDocumentId,
org.apache.uima.analysis_engine.AnalysisEngine aEngine,
String aLanguage,
String aDocument)
Run an analysis engine using a document.
|
public static org.apache.uima.jcas.JCas runTest(org.apache.uima.analysis_engine.AnalysisEngineDescription aEngine, String aLanguage, String aDocument) throws org.apache.uima.UIMAException
aEngine
- an analysis engine description.aLanguage
- a language code.aDocument
- the text to process.org.apache.uima.UIMAException
- if an exception occurs.TokenBuilder
public static org.apache.uima.jcas.JCas runTest(String aDocumentId, org.apache.uima.analysis_engine.AnalysisEngineDescription aEngine, String aLanguage, String aDocument) throws org.apache.uima.UIMAException
aDocumentId
- a document ID.aEngine
- an analysis engine description.aLanguage
- a language code.aDocument
- the text to process.org.apache.uima.UIMAException
- if an exception occurs.TokenBuilder
public static org.apache.uima.jcas.JCas runTest(org.apache.uima.analysis_engine.AnalysisEngine aEngine, String aLanguage, String aDocument) throws org.apache.uima.UIMAException
aEngine
- an analysis engine description.aLanguage
- a language code.aDocument
- the text to process.org.apache.uima.UIMAException
- if an exception occurs.TokenBuilder
public static org.apache.uima.jcas.JCas runTest(String aDocumentId, org.apache.uima.analysis_engine.AnalysisEngine aEngine, String aLanguage, String aDocument) throws org.apache.uima.UIMAException
aDocumentId
- a document ID.aEngine
- an analysis engine description.aLanguage
- a language code.aDocument
- the text to process.org.apache.uima.UIMAException
- if an exception occurs.TokenBuilder
public static void autoloadModelsOnNextTestRun()
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.