public class QAInput
extends java.lang.Object
Constructor and Description |
---|
QAInput(java.lang.String question,
java.lang.String paragraph,
int seqLength)
Creates the BERT QA model.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParagraph()
Gets the resource document that contains the answer.
|
java.lang.String |
getQuestion()
Gets the question for the model.
|
int |
getSeqLength()
Gets the sequence length.
|
public QAInput(java.lang.String question, java.lang.String paragraph, int seqLength)
question
- the question for the modelparagraph
- the resource document that contains the answerseqLength
- the maximum length of the sentencepublic java.lang.String getQuestion()
public java.lang.String getParagraph()
public int getSeqLength()