Constructor | Description |
---|---|
Phrase() |
Modifier and Type | Method | Description |
---|---|---|
int |
getRank() |
Get the rank of the phrase.
|
double |
getRelevance() |
Get the relevance of this phrase.
|
String |
getText() |
Get the suggested phrase.
|
String |
getTicket() |
Get the notification ticket of this phrase.
|
static Result.Phrase |
mock(String text,
String ticket,
int rank,
double relevance) |
Creates a new Phrase object for test purposes.
|
String |
toString() |
public static Result.Phrase mock(String text, String ticket, int rank, double relevance)
text
- the actual phraseticket
- the phrase ticketrank
- the phrase rankrelevance
- the phrase relevancepublic String getText()
public int getRank()
public double getRelevance()
public String getTicket()
Copyright © 2020 Apptus Technologies AB. All rights reserved.