ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

QaAnswer

public class QaAnswer

Answers to QuestionAnswerer. Contains information about the answer and its relative position information to the context.

Nested Classes

class QaAnswer.Pos Position information of the answer relative to context. 

Fields

public QaAnswer.Pos pos
public String text

Public Constructors

QaAnswer(String text, int start, int end, float logit)

Inherited Methods

Fields

public QaAnswer.Pos pos

public String text

Public Constructors

public QaAnswer (String text, QaAnswer.Pos pos)

Parameters
text
pos

public QaAnswer (String text, int start, int end, float logit)

Parameters
text
start
end
logit