SpeechTranscript#

A transcript from speech recognition. Multiple transcripts may be sent for the same speech fragment as it is uttered, each one having more accurate text as more audio information comes in. Speech fragments are generally sentences. They may be a partial sentence, if the whole sentence is over the length limit.

Kind:

Message

ROS type:

interfaces/msg/SpeechTranscript

Python:

from interfaces.msg import SpeechTranscript

C++:

#include "interfaces/msg/speech_transcript.hpp"

Fields#

Field

Type

Description

transcript_id

int32

Unique identifier of the transcript. Messages with the same transcript ID share the starting audio data.

is_final

bool

True if this is the last transcript of a speech fragment.

text

string

Transcript text.

Used on#

Definition
# A transcript from speech recognition.
# Multiple transcripts may be sent for the same speech fragment as it is uttered, each one
# having more accurate text as more audio information comes in. Speech fragments are
# generally sentences. They may be a partial sentence, if the whole sentence is over the
# length limit.

# Unique identifier of the transcript.
# Messages with the same transcript ID share the starting audio data.
int32 transcript_id

# True if this is the last transcript of a speech fragment.
bool is_final

# Transcript text.
string text