public class QAInput
extends java.lang.Object
| Constructor and Description |
|---|
QAInput(java.lang.String question,
java.lang.String paragraph)
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.
|