public abstract class QATranslator extends java.lang.Object implements Translator<QAInput,java.lang.String>
Modifier and Type | Class and Description |
---|---|
static class |
QATranslator.BaseBuilder<T extends QATranslator.BaseBuilder>
The builder for question answering translator.
|
Modifier and Type | Field and Description |
---|---|
protected Batchifier |
batchifier |
Modifier | Constructor and Description |
---|---|
protected |
QATranslator(QATranslator.BaseBuilder<?> builder) |
Modifier and Type | Method and Description |
---|---|
Batchifier |
getBatchifier()
Gets the
Batchifier . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepare
processInput
processOutput
protected Batchifier batchifier
protected QATranslator(QATranslator.BaseBuilder<?> builder)
public Batchifier getBatchifier()
Batchifier
.getBatchifier
in interface Translator<QAInput,java.lang.String>
Batchifier