Mi_Ton
03-22-2011, 09:17 PM
For all guys how don't have an account on subsim radio
Speech Recognition for SH5 v1.4 - by skwas (http://www.subsim.com/radioroom/showthread.php?t=164926)
<span class="ev_code_GREEN"> Speech Recognition for SH5 - v1.4 - MiTon's NewUI Edition - v0.4 - english </span>
_______________________________________________
Developed in 2010 by skwas, a game enthusiast and ubergeek http://forums.ubi.com/groupee_common/emoticons/icon_redface.gif)
edited my MiTon
http://sh4.skwas.net
_______________________________________________
<span class="ev_code_GREEN"> DESCRIPTION </span>
This mod enables speech recognition to SH5 allowing you to use a microphone to dictate your crew what to do
I made it, just to sugar the waiting time for KarlKoch's very advanced Version.
Since english isn't my mothertongue, it won't be free of errors. So feedback is wellcome. (contact: http://www.subsim.com/radioroo...wthread.php?t=164926 (http://www.subsim.com/radioroom/showthread.php?t=164926) and via PM )
To srtucture the orders I tried to stick to the officers oderbar in TheDarkWraith's NewUI.
To encouter the issue with looped orders see:
http://www.subsim.com/radioroo...php?t=164926&page=12 (http://www.subsim.com/radioroom/showthread.php?t=164926&page=12) from post #253
You can find the german Verison of Speech Recogniton for SH5 here:
http://www.subsim.com/radioroo...wthread.php?t=180814 (http://www.subsim.com/radioroom/showthread.php?t=180814)
or
http://forums-de.ubi.com/eve/f...541078619#9541078619 (http://forums-de.ubi.com/eve/forums?a=tpc&s=59010161&f=1151033738&m=9541078619&r=9541078619#9541078619)
If you need more, or other phrases for your Speech Recognition, there is a tutorial included.
Have a look in Documentation\CustomizingTutorial_english.pdf
<span class="ev_code_GREEN"> CREDITS </span>
skwas for Speech Recognition for SH5
KarlKoch (working on German translation, coming soon)
minsc_tdp, for SH4Speech.
TheDarkWraith for his assistance, great UI-Mods and The MegaMod - Magnum Opus
And the folks at forum.kickinbak.com and www.subsim.com (http://www.subsim.com).
VERSION HISTORY
v1.4_MiTon's NewUI Edition v0.4 -27.04.2011
added several commands from KarlKochs advanced Version (Start_stop_stopwatch, advanced salvo selection, Select_and_fire_torpedo)
reworked most TDC and torpedosettings commands matching KarlKoch's implementation (TDC manual input will be set on and off by script)
fixed bug in "Set_rudder"
added compatibility for TDW's NewUI 6.5 Speech Recognition Settings
usedTDW revised version v0.3 as base for v0.4
grammar and command tweaks
v1.4_MiTon's NewUI Edition v0.3 -11.04.2011
fixed open/close tube commands
fixed and reworked commands for torpedo settings
reworked "fire torpedo"
added commands to toggle/turn on/off SpeechRecognition
added commands to "Follow_target" on/off
added commands to "Report_position_celestial"
added commands to Report_position_dead_reckoning
added commands to "Report_last_position"
altered command "decks awash" to use new scripted command "Decks_Awash_Depth" / default is 7.5 meters / can be changed in Speech Rcognition.py / search for decksAwashDepthToSet = 7.5
added commands to turn SpeechRecognition on/off
added commands to "Toggle_determine_contact_speed"
added commands to toggle GUI visibility
added command to toggle circle
added commands to toggle NavMarker
added commands to toggle SuperMarker
added command to toggle Marker
added command to toggle Ruler
added command to toggle Eraser
added command to toggle Protractor
added commands to toggle MapTools Helper
added command to toggle/show/hide RAOBF
added command to toggle/show/hide AttackDisk
added command to toggle/show/hide ScopeSettings
added command to toggle/show/hide Torpedo Extra controls
added commands to switch TDC Dials Modes
added command to toggle/show/hide Essential controls
added command to toggle/show/hide Chalkboard
added command to increase Chalkboard count
added command to toggle/show/hide Automation
added command to toggle/show/hide Radiotraffic
added command to toggle/show/hide ships journal
added command to toggle/show/hide charts
added command to toggle/on/off Torpedo autoloading
added command to show fuel indicator / if essential controls aren't shown, this command will make them visible
added command to show battery indicator / if essential controls aren't shown, this command will make them visible
added command to show compresser air indicator / if essential controls aren't shown, this command will make them visible
added command to show CO2 indicator / if essential controls aren't shown, this command will make them visible
added new phrases to "Toggle_activate_damage_control_team"
added new phrases to "Guns_controls
added new phrases to "Systems_control"
v1.4_MiTon's NewUI Edition 0.2.02 -12.03.2010
<LI> spelling errors in SHSpeech_Command file: "officer" keyed in as "onficer" fixed
<LI> added rule <rule id="TDC"/>
<LI> added rule <rule id="AOB"/>
<LI> added more variations to <rule id="X0">
<LI> added more variations to <rule id="NO">
<LI> added more variations to <rule id="SO">
<LI> added more variations to <rule id="RO">
<LI> added more variations to <rule id="LE">
<LI> fixed some letft <items> in Command.xml
<LI> added more phrases to "save_fuel"
<LI> reworked some sonar grammar and commands
<LI> reworked some TDC phrases
<LI> reworked rudder and course controls
<LI> added "one third" and "two thirds" for speed control
<LI> all commands referring degrees can now be called without degrees
<LI> phrases added to "AOB"
<LI> phrases added to "gyro angle"
<LI> phrases added to "patern angle"
v1.4_MiTon's NewUI Edition 0.2.01 -04.03.2010
<LI>added custom or altered commands
<LI>added some commands for NewUI, like Enhanced Recognitionmanual and Teleporting
<LI>Tutorial for customization included (english and german
<LI>edited rearranged the comments in SHSpeech_Commands.xml and SHSpeech_Grammar.xml
<LI>translated and edited SHSpeech_Commands.xml, SHSpeech_Grammar.xml and SHSpeech.xslt
<LI>added grammar.dtd to folder data\Sound\Speech
v1.4 29-03-2010
Renamed Page Voice Recognition.ini to Speech Recognition.ini
Renamed Page Voice Recognition.py to Speech Recognition.py
Moved XML-files to game data folder Data\Sound\Speech
Added XSLT-stylesheet so you can view all supported commands by opening SHSpeech_Commands.xml in a browser.
Lowered default confidence level to 0.87
Added Microphone-icon to test application
Added support for floating point values (max. one decimal), f.ex. 3.6 meters
Fixed: when ordering set pistol to magnetic youd get a confirmation, but the pistol setting did not actually change.
Added numerous commands. See Supported Voice Commands-shortcut for a complete overview.
Included source code
v1.1 1.3
Updated test application only.
v1.0
Initial release
_______________________________________________
<span class="ev_code_GREEN"> SYSTEM REQUIREMENTS </span>
* Windows Vista
* Windows 7
* english language pack must be installed!!!
See Windows Update to install a language pack. Alternatively, check these links:
http://windows7center.com/news...-via-windows-update/ (http://windows7center.com/news/windows-7-rtm-language-packs-now-available-via-windows-update/)
http://keznews.com/6149_Downlo...irect_Download_Links (http://keznews.com/6149_Download_Windows_7_MUI_Language_Packs_-_Official_32-bit_and_64-bit_Direct_Download_Links)
http://support.microsoft.com/kb/934377
And if you can't install a language, check out this important post by Ernesto78 (it worked for several guys!):
http://www.subsim.com/radioroo...1321771&postcount=47 (http://www.subsim.com/radioroom/showpost.php?p=1321771&postcount=47)
IMPORTANT: Any older platform may likely NOT work and could cause CTDs.
_______________________________________________
<span class="ev_code_GREEN"> INSTALLATION INSTRUCTIONS </span>
Chose your version and install, like any other mod using JSGME, and simply run the game.
NOTE: Likely NOT compatible with UI mods !
For adding SpeechRecognition to other UI mods read:
http://www.subsim.com/radioroo...335991&postcount=113 (http://www.subsim.com/radioroom/showpost.php?p=1335991&postcount=113)
Version for TDW's NewUI and MO included.
_______________________________________________
<span class="ev_code_GREEN"> SUPPORTED COMMANDS </span>
Open the file Data\Sound\Speech\SHSpeech_Commands.xml in a browser.
currently its supports, round about 330 (stock version: 120) commands triggerd by 7200 phrases (stock version: 230).
Included also a tutorial on changing or adding phrases.
Some nice fetures for TDW's NewUI like teleporting or Enhanced Recognition Manual toggle included.
<span class="ev_code_GREEN"> Dowload </span>
Subsim Radio (http://www.subsim.com/radioroom/downloads.php?do=file&id=3085)
gamefront (http://www.gamefront.com/files/20274104/Speech+Recognition_MiTonsEdition_v0.4_english.zip)
Happy sailing!
MiTon
Speech Recognition for SH5 v1.4 - by skwas (http://www.subsim.com/radioroom/showthread.php?t=164926)
<span class="ev_code_GREEN"> Speech Recognition for SH5 - v1.4 - MiTon's NewUI Edition - v0.4 - english </span>
_______________________________________________
Developed in 2010 by skwas, a game enthusiast and ubergeek http://forums.ubi.com/groupee_common/emoticons/icon_redface.gif)
edited my MiTon
http://sh4.skwas.net
_______________________________________________
<span class="ev_code_GREEN"> DESCRIPTION </span>
This mod enables speech recognition to SH5 allowing you to use a microphone to dictate your crew what to do
I made it, just to sugar the waiting time for KarlKoch's very advanced Version.
Since english isn't my mothertongue, it won't be free of errors. So feedback is wellcome. (contact: http://www.subsim.com/radioroo...wthread.php?t=164926 (http://www.subsim.com/radioroom/showthread.php?t=164926) and via PM )
To srtucture the orders I tried to stick to the officers oderbar in TheDarkWraith's NewUI.
To encouter the issue with looped orders see:
http://www.subsim.com/radioroo...php?t=164926&page=12 (http://www.subsim.com/radioroom/showthread.php?t=164926&page=12) from post #253
You can find the german Verison of Speech Recogniton for SH5 here:
http://www.subsim.com/radioroo...wthread.php?t=180814 (http://www.subsim.com/radioroom/showthread.php?t=180814)
or
http://forums-de.ubi.com/eve/f...541078619#9541078619 (http://forums-de.ubi.com/eve/forums?a=tpc&s=59010161&f=1151033738&m=9541078619&r=9541078619#9541078619)
If you need more, or other phrases for your Speech Recognition, there is a tutorial included.
Have a look in Documentation\CustomizingTutorial_english.pdf
<span class="ev_code_GREEN"> CREDITS </span>
skwas for Speech Recognition for SH5
KarlKoch (working on German translation, coming soon)
minsc_tdp, for SH4Speech.
TheDarkWraith for his assistance, great UI-Mods and The MegaMod - Magnum Opus
And the folks at forum.kickinbak.com and www.subsim.com (http://www.subsim.com).
VERSION HISTORY
v1.4_MiTon's NewUI Edition v0.4 -27.04.2011
added several commands from KarlKochs advanced Version (Start_stop_stopwatch, advanced salvo selection, Select_and_fire_torpedo)
reworked most TDC and torpedosettings commands matching KarlKoch's implementation (TDC manual input will be set on and off by script)
fixed bug in "Set_rudder"
added compatibility for TDW's NewUI 6.5 Speech Recognition Settings
usedTDW revised version v0.3 as base for v0.4
grammar and command tweaks
v1.4_MiTon's NewUI Edition v0.3 -11.04.2011
fixed open/close tube commands
fixed and reworked commands for torpedo settings
reworked "fire torpedo"
added commands to toggle/turn on/off SpeechRecognition
added commands to "Follow_target" on/off
added commands to "Report_position_celestial"
added commands to Report_position_dead_reckoning
added commands to "Report_last_position"
altered command "decks awash" to use new scripted command "Decks_Awash_Depth" / default is 7.5 meters / can be changed in Speech Rcognition.py / search for decksAwashDepthToSet = 7.5
added commands to turn SpeechRecognition on/off
added commands to "Toggle_determine_contact_speed"
added commands to toggle GUI visibility
added command to toggle circle
added commands to toggle NavMarker
added commands to toggle SuperMarker
added command to toggle Marker
added command to toggle Ruler
added command to toggle Eraser
added command to toggle Protractor
added commands to toggle MapTools Helper
added command to toggle/show/hide RAOBF
added command to toggle/show/hide AttackDisk
added command to toggle/show/hide ScopeSettings
added command to toggle/show/hide Torpedo Extra controls
added commands to switch TDC Dials Modes
added command to toggle/show/hide Essential controls
added command to toggle/show/hide Chalkboard
added command to increase Chalkboard count
added command to toggle/show/hide Automation
added command to toggle/show/hide Radiotraffic
added command to toggle/show/hide ships journal
added command to toggle/show/hide charts
added command to toggle/on/off Torpedo autoloading
added command to show fuel indicator / if essential controls aren't shown, this command will make them visible
added command to show battery indicator / if essential controls aren't shown, this command will make them visible
added command to show compresser air indicator / if essential controls aren't shown, this command will make them visible
added command to show CO2 indicator / if essential controls aren't shown, this command will make them visible
added new phrases to "Toggle_activate_damage_control_team"
added new phrases to "Guns_controls
added new phrases to "Systems_control"
v1.4_MiTon's NewUI Edition 0.2.02 -12.03.2010
<LI> spelling errors in SHSpeech_Command file: "officer" keyed in as "onficer" fixed
<LI> added rule <rule id="TDC"/>
<LI> added rule <rule id="AOB"/>
<LI> added more variations to <rule id="X0">
<LI> added more variations to <rule id="NO">
<LI> added more variations to <rule id="SO">
<LI> added more variations to <rule id="RO">
<LI> added more variations to <rule id="LE">
<LI> fixed some letft <items> in Command.xml
<LI> added more phrases to "save_fuel"
<LI> reworked some sonar grammar and commands
<LI> reworked some TDC phrases
<LI> reworked rudder and course controls
<LI> added "one third" and "two thirds" for speed control
<LI> all commands referring degrees can now be called without degrees
<LI> phrases added to "AOB"
<LI> phrases added to "gyro angle"
<LI> phrases added to "patern angle"
v1.4_MiTon's NewUI Edition 0.2.01 -04.03.2010
<LI>added custom or altered commands
<LI>added some commands for NewUI, like Enhanced Recognitionmanual and Teleporting
<LI>Tutorial for customization included (english and german
<LI>edited rearranged the comments in SHSpeech_Commands.xml and SHSpeech_Grammar.xml
<LI>translated and edited SHSpeech_Commands.xml, SHSpeech_Grammar.xml and SHSpeech.xslt
<LI>added grammar.dtd to folder data\Sound\Speech
v1.4 29-03-2010
Renamed Page Voice Recognition.ini to Speech Recognition.ini
Renamed Page Voice Recognition.py to Speech Recognition.py
Moved XML-files to game data folder Data\Sound\Speech
Added XSLT-stylesheet so you can view all supported commands by opening SHSpeech_Commands.xml in a browser.
Lowered default confidence level to 0.87
Added Microphone-icon to test application
Added support for floating point values (max. one decimal), f.ex. 3.6 meters
Fixed: when ordering set pistol to magnetic youd get a confirmation, but the pistol setting did not actually change.
Added numerous commands. See Supported Voice Commands-shortcut for a complete overview.
Included source code
v1.1 1.3
Updated test application only.
v1.0
Initial release
_______________________________________________
<span class="ev_code_GREEN"> SYSTEM REQUIREMENTS </span>
* Windows Vista
* Windows 7
* english language pack must be installed!!!
See Windows Update to install a language pack. Alternatively, check these links:
http://windows7center.com/news...-via-windows-update/ (http://windows7center.com/news/windows-7-rtm-language-packs-now-available-via-windows-update/)
http://keznews.com/6149_Downlo...irect_Download_Links (http://keznews.com/6149_Download_Windows_7_MUI_Language_Packs_-_Official_32-bit_and_64-bit_Direct_Download_Links)
http://support.microsoft.com/kb/934377
And if you can't install a language, check out this important post by Ernesto78 (it worked for several guys!):
http://www.subsim.com/radioroo...1321771&postcount=47 (http://www.subsim.com/radioroom/showpost.php?p=1321771&postcount=47)
IMPORTANT: Any older platform may likely NOT work and could cause CTDs.
_______________________________________________
<span class="ev_code_GREEN"> INSTALLATION INSTRUCTIONS </span>
Chose your version and install, like any other mod using JSGME, and simply run the game.
NOTE: Likely NOT compatible with UI mods !
For adding SpeechRecognition to other UI mods read:
http://www.subsim.com/radioroo...335991&postcount=113 (http://www.subsim.com/radioroom/showpost.php?p=1335991&postcount=113)
Version for TDW's NewUI and MO included.
_______________________________________________
<span class="ev_code_GREEN"> SUPPORTED COMMANDS </span>
Open the file Data\Sound\Speech\SHSpeech_Commands.xml in a browser.
currently its supports, round about 330 (stock version: 120) commands triggerd by 7200 phrases (stock version: 230).
Included also a tutorial on changing or adding phrases.
Some nice fetures for TDW's NewUI like teleporting or Enhanced Recognition Manual toggle included.
<span class="ev_code_GREEN"> Dowload </span>
Subsim Radio (http://www.subsim.com/radioroom/downloads.php?do=file&id=3085)
gamefront (http://www.gamefront.com/files/20274104/Speech+Recognition_MiTonsEdition_v0.4_english.zip)
Happy sailing!
MiTon