TextClassification#

Kind:

Message

ROS type:

interfaces/msg/TextClassification

Python:

from interfaces.msg import TextClassification

C++:

#include "interfaces/msg/text_classification.hpp"

Fields#

Field

Type

Description

text

string

Classified text.

is_final

bool

True if the text is final; False, if it is a preview.

class_scores

ClassScore[]

Classification scores, ordered from most to least likely. Emotions have a score for every class; commands only have the recognised one, with score 1.

Used on#

Definition
# Classified text.
string text

# True if the text is final; False, if it is a preview.
bool is_final

# Classification scores, ordered from most to least likely. Emotions have a score for every class;
# commands only have the recognised one, with score 1.
ClassScore[] class_scores