CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Interface: ISpeechPhraseInfo

Rule Property


The Rule property retrieves information about the top-level rule that was used to recognize the phrase.


Syntax

Set: (This property is read-only)
Get: ISpeechPhraseRule = ISpeechPhraseInfo.Rule

Parts

ISpeechPhraseInfo
The owning object.
ISpeechPhraseRule
Set: (This property is read-only)
Get: An ISpeechPhraseRule variable that gets the property.

Example

The following code snippet assumes a valid recognition, RecoResult, although it still checks for validity. In the sample below, a few of the rule properties are retrieved.

If Not RecoResult Is Nothing Then
	Dim rp As ISpeechPhraseInfo
	Set rp = RecoResult.PhraseInfo
	
	Dim ruleName As String
	ruleName = rp.rule.Name
	
	Dim ruleID, firstElement, numberOfElements As Long
	ruleID = rp.rule.Id
	firstElement = rp.rule.FirstElement
	numberOfElements = rp.rule.NumberOfElements
End If


You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com
Partner sites: Logo Design, Simple Anti-Crisis Accounting Software, Voice Search for Web