public class BaseTUICRF extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static CommandOption.String |
offsetsOption |
protected static CommandOption.File |
outputPrefix |
protected static CommandOption.Integer |
randomSeedOption |
protected static CommandOption.Double |
testingPct |
protected static CommandOption.Double |
trainingPct |
| Constructor and Description |
|---|
BaseTUICRF() |
| Modifier and Type | Method and Description |
|---|---|
protected static int[][] |
getOffsets() |
protected static void |
initOutputDirectory() |
protected static void |
printSequence(PrintStream outf,
String name,
Sequence input,
Sequence trueOutput,
Sequence predOutput) |
protected static void |
writeCrf(Transducer crf) |
protected static void |
writeCrf(Transducer crf,
String id) |
protected static void |
writeOutput(Transducer crf,
InstanceList testing) |
protected static void |
writeOutput(Transducer crf,
InstanceList testing,
String num) |
protected static CommandOption.File outputPrefix
protected static CommandOption.Integer randomSeedOption
protected static CommandOption.Double trainingPct
protected static CommandOption.Double testingPct
protected static CommandOption.String offsetsOption
protected static void writeCrf(Transducer crf) throws IOException
IOExceptionprotected static void writeCrf(Transducer crf, String id) throws IOException
IOExceptionprotected static void writeOutput(Transducer crf, InstanceList testing) throws IOException
IOExceptionprotected static void writeOutput(Transducer crf, InstanceList testing, String num) throws IOException
IOExceptionprotected static void printSequence(PrintStream outf, String name, Sequence input, Sequence trueOutput, Sequence predOutput)
protected static void initOutputDirectory()
throws IOException
IOExceptionprotected static int[][] getOffsets()
throws bsh.EvalError
bsh.EvalErrorCopyright © 2019 JULIE Lab, Germany. All rights reserved.