Back to Tensorflow

CluResponse

tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/task/text/bertclu/CluResponse.html

2.21.03.5 KB
Original Source

public abstract class CluResponse

The output domain, intent, and slot information for the BertCluAnnotator.

Nested Classes

| class | CluResponse.CategoricalSlot | Represents a categorical slot whose values are within a finite set. | | class | CluResponse.Mention | A single mention. | | class | CluResponse.MentionedSlot | Represents a mentioned slot whose values are open text extracted from the input text. |

Public Constructors

| | CluResponse() |

Public Methods

| abstract List<CluResponse.CategoricalSlot> | getCategoricalSlots() | | abstract List<Category> | getDomains() | | abstract List<Category> | getIntents() | | abstract List<CluResponse.MentionedSlot> | getMentionedSlots() |

Inherited Methods

From class java.lang.Object

| boolean | equals(Object arg0) | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

Public Constructors

public CluResponse ()

Public Methods

public abstract List<CluResponse.CategoricalSlot> getCategoricalSlots ()

public abstract List<Category> getDomains ()

public abstract List<Category> getIntents ()

public abstract List<CluResponse.MentionedSlot> getMentionedSlots ()