Table of Contents

Method FindCommandMatches

Namespace
LMKit.Speech.Dictation
Assembly
LM-Kit.NET.dll

FindCommandMatches(string)

Finds all dictation command matches in the text for highlighting purposes.

public static IReadOnlyList<CommandMatch> FindCommandMatches(string text)

Parameters

text string

The text to search for commands.

Returns

IReadOnlyList<CommandMatch>

A read-only collection of CommandMatch instances representing each matched command's position and length in the source text. Matches are sorted by start position and do not overlap.