|
|
|
#1
|
||||
|
||||
|
FMXInno - Cumulative Updates [2023-Apr-17]
Highlights: Code:
* Several enhancements have been made. * Voice recognition and speech capabilities have been added to FMXInno. * Included additional Copy and Move functions for files. The first post has been updated. Code:
* The given example has the ability to understand certain commands. Recognizable commands for the given example: 1. "go" 2. "comeback to". 3. "stop". 4. "browse". 5. "pause". 6. "resume". 7. "music". 8. "about". 9. "verify". * and also recognize phrases such as "I need you to come back to" as per the given Grammar.xml. Tested Voice: English (US). Code:
Grammar XML: Elements.
1. <O>AText</O> = Optional phrase that may be recognized.
2. <L>...</L> = List of phrases which can be recognized.
3. <P VAL="#">AText</P> = Phrase that must be recognized for the containing rule to be recognized.
4. LANGID : The language identifier of the grammar. || "409" - English-US, "809" - English-GB
5. RULE : Rule that contains phrases or text to be recognized.
6. PROPNAME : The semantic property's string identifier.
7. RULEREF : Import, or reference, another rules contents.
NOTE:
1. It is *imperative* that the "_ref" phrase be added at the end of the
"PROPNAME" of "RULEREF".
Code:
Grammar XML: Example.
<GRAMMAR LANGID="409">
<RULE NAME="R_My_Main" TOPLEVEL="ACTIVE">
<O>i need you to </O> <!-- Optional Phrase -->
<L PROPNAME="buttonPress" >
<P VAL="1">go</P> <!-- Click Next Button -->
<P VAL="2">comeback to</P> <!-- Click Back Button -->
<P VAL="3">stop</P> <!-- Click Cancel Button -->
<RULEREF NAME="R_My_Sub_A" PROPNAME="additionalButtonPress_ref"/> <!-- Reference 1 -->
<RULEREF NAME="R_My_Sub_B" PROPNAME="moreButtonPress_ref"/> <!-- Reference 2 -->
</L>
</RULE>
<RULE NAME="R_My_Sub_A">
<L PROPNAME="additionalButtonPress">
<P VAL="4">browse</P> <!-- Click Browse Button -->
<P VAL="5">pause</P> <!-- Click Pause Button -->
<P VAL="6">resume</P> <!-- Click Resume Button -->
</L>
</RULE>
<RULE NAME="R_My_Sub_B">
<L PROPNAME="moreButtonPress">
<P VAL="7">music</P> <!-- Click Music Button -->
<P VAL="8">about</P> <!-- Click About Button -->
<P VAL="9">verify</P> <!-- Click Verify Button -->
</L>
</RULE>
</GRAMMAR>
. Last edited by BLACKFIRE69; 14-07-2024 at 01:57. |
| The Following 7 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
ADMIRAL (17-04-2023), audiofeel (17-04-2023), crachlow (17-04-2023), ffmla (18-04-2023), hitman797 (17-04-2023), Masquerade (18-04-2023), Razor12911 (18-04-2023) | ||
| Sponsored Links |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
| Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |