Class Segment
A high level API for automatic speech recognition (ASR) and natural language understanding (NLU) results.
Results will accumulate in Segment for the duration of the an utterance.
Inheritance
System.Object
Segment
Assembly: speechly-dotnet.dll
Syntax
public class Segment : object
Constructors
|
Improve this Doc
View Source
Segment(String, Int32)
Declaration
public Segment(string audio_context, int segment_id)
Parameters
Type |
Name |
Description |
System.String |
audio_context |
|
System.Int32 |
segment_id |
|
Fields
|
Improve this Doc
View Source
contextId
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
entities
Declaration
public Dictionary<string, Entity> entities
Field Value
Type |
Description |
Dictionary<System.String, Entity> |
|
|
Improve this Doc
View Source
id
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
intent
Declaration
Field Value
|
Improve this Doc
View Source
isFinal
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
words
Declaration
Field Value
Methods
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToString(BeautifyIntent, BeautifyEntity, String)
Declaration
public string ToString(BeautifyIntent intentTag, BeautifyEntity entityTag, string confirmationMark)
Parameters
Returns
Type |
Description |
System.String |
|