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 |
|---|---|---|
|
|
Classified text. |
|
|
True if the text is final; False, if it is a preview. |
|
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#
/emotion_classification (topic): published by Speech (
speech_node); subscribed by Behavior (behavior_node)./command_classification (topic): published by Speech (
speech_node); subscribed by Behavior (behavior_node).
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