Show / Hide Table of Contents

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
Namespace: Speechly.SLUClient
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
public string contextId
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
public int id
Field Value
Type Description
System.Int32
| Improve this Doc View Source

intent

Declaration
public Intent intent
Field Value
Type Description
Intent
| Improve this Doc View Source

isFinal

Declaration
public bool isFinal
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

words

Declaration
public Word[] words
Field Value
Type Description
Word[]

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
Type Name Description
BeautifyIntent intentTag
BeautifyEntity entityTag
System.String confirmationMark
Returns
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX