public class AnnotatorPerformanceTester extends Object
PerformanceTestResultImpl
object.Constructor and Description |
---|
AnnotatorPerformanceTester() |
Modifier and Type | Method and Description |
---|---|
static PerformanceTestResult |
runPerformanceTest(boolean repeatSingle,
int numsToRun,
File taeDescFilePath,
File testFileDir,
String dataPath,
boolean doWarmup)
runs an annotator performance test
|
public static PerformanceTestResult runPerformanceTest(boolean repeatSingle, int numsToRun, File taeDescFilePath, File testFileDir, String dataPath, boolean doWarmup) throws Exception
repeatSingle
- if true, every document is process "numsToRun" times before the next document is
processed. If false, all documents are processed and this is repeated "numsToRun"
times.numsToRun
- repeat count for the input documentstaeDescFilePath
- ae descriptor - absolute file pathtestFileDir
- test file directorydataPath
- ae datapathdoWarmup
- do warum for analysis engine - runs an short english sample documentException
- passthruCopyright © 2006–2024 The Apache Software Foundation. All rights reserved.