Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
CryptoAlgo-Dev 75c48ba87f
Merge pull request #4 from ArchGryphon9362/patch-1
4 years ago
..
chs_control_panel Add source files 4 years ago
jpn_control_panel Add source files 4 years ago
cd-contents.doc Add source files 4 years ago
license.chm Add source files 4 years ago
license.rtf Add source files 4 years ago
makefile Add source files 4 years ago
readme.htm Add source files 4 years ago
redistrib.chm Add source files 4 years ago
sapi.chm Add source files 4 years ago
sapicpl.hlp Add source files 4 years ago
sources Add source files 4 years ago
speech.chm Add source files 4 years ago

readme.htm

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>

<HEAD>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Release notes</TITLE>

<STYLE>@import url(basicIE4.css);</STYLE>

</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<H1><A NAME="TTS_Over_pagetop"></A></H1>

<p><font size="+1">Microsoft Speech SDK</font></p>
<HR ALIGN="left" SIZE="1" WIDTH="100%" COLOR="#ff0000" NOSHADE>


<h1>Release notes</h1>
<p>10/18/2000</p>

<h3>Introduction</h3>
<p>Welcome to Microsoft&#174; Speech SDK. This file describes system requirements, installation notes, and known issues. This SDK provides the tools, information, and samples you need to incorporate speech technologies into your Windows&#174; applications.</p>
<p>Before installing the SDK, read through this document to become familiar with installation and performance issues. This file accompanies Speech SDK 5.0 and is released under the License Agreement on the license.chm file on the CD or install point.</p>

<p>The following topics are available:</p>

<UL>
<LI><a href="#System_Requirements">System Requirements</a></LI>
<LI><a href="#Installation_Notes">Installation Notes</a></LI>
<LI><a href="#Known_Issues">Known Issues</a></LI>
<LI><a href="#API_Changes">API Changes since SAPI 5.0 Beta release</a></LI>
</UL>

<h3><a name="System_Requirements">System Requirements</a></h3>

<h5>Operating Systems</h5>
<p>Supported operating systems are:</p>
<ul>
<li>Microsoft Windows 2000 Professional, Server, English edition or Windows&nbsp;2000 Professional with Japanese or Simplified Chinese Language support.</li>
<li>Microsoft Windows Windows NT&#174; Workstation 4.0, service pack 6a, English, Japanese, or Simplified Chinese edition.</li>
<li>Microsoft Windows Millennium edition.</li>
<li>Microsoft Windows 98 (Windows 95 is not supported).</li>
</ul>

<h5>Software Requirements</h5>
<ul>
<li>Microsoft Visual C++ 6.0, service pack 3 or later version.</li>
<li>Platform SDK (PSDK) April 2000 or later edition. Compiling SDK projects requires components of the PSDK. Within Microsoft Visual C++ 6.0, the PSDK include directories must be listed before the Visual C++ ones. Use the Directories tab to change the order in <b>Tools->Options</b> menu. Move PSDK directories above all Visual C++ directories, if needed.<p>

To save disk space, you can load a minimal configuration. This includes enabling only the following two options:</LI>

<OL>
<li>Configuration Options</li>
<li>Build Environment</li></ol></ul>
<li style="list-style-type:'none';"><ul>These options require 13 MB on the system drive and another 80 MB on any other drive. No other options are needed. You can download the PSDK from <a href="http://msdn.microsoft.com/downloads/sdks/platform/platform.asp">http://msdn.microsoft.com/downloads/sdks/platform/platform.asp</a>.</li></p>

<li>Microsoft Internet Explorer 5.0 or later version. Users of Windows NT 4.0 with any version of the service packs require Microsoft Internet Explorer 5.5 or later. You need this to read the online documentation and for executing Microsoft XML. You can download the latest version of Microsoft Internet Explorer from the Web at <a href="http://www.microsoft.com/ie">http://www.microsoft.com/ie</a>.
</li></ul>

<h5>Hardware Requirements</h5>
<ul>
<li>A Pentium II/Pentium II-equivalent or later processor at 233 MHz with 128 MB is recommended.</li>
<li>SAPI 5.0 can now take advantage of a computer and operating system that supports multiple processors, including those mentioned above. Additionally, you can use SAPI 5.0 in a distributed application environment.</li>

<li>Full-duplex close-talk microphones and sound cards on the PC 99 list are recommended. Full duplex is defined as, "host supports full-duplex operation with simultaneous independent record and play sample rates." Most high quality microphones and sound cards that are currently being shipped meet this requirement. Other sound cards and microphones are also likely to work well with SAPI 5. However, not all sound cards or sound devices are supported by SAPI 5.0, even if the operating system supports them otherwise.</li>

<li>The following table outlines the RAM usage:</li>
</ul>
<TABLE CELLSPACING=4 COLS=3>
<TR VALIGN=TOP>
<!--Column_1--><TH ALIGN=LEFT WIDTH=20%>Component</TH>
<!--Column_2--><TH ALIGN=LEFT WIDTH=40%>Minimum RAM</TH>
<!--Column_2--><TH ALIGN=LEFT WIDTH=40%>Recommended RAM</TH>
</TR>
<TR VALIGN=TOP>
<!--Column_1--><TD width="20%">TTS Engine</TD>
<!--Column_2--><TD width="80%">14.5 Mb</TD>
<!--Column_3--><TD width="80%">32.0 Mb</TD>
</TR>
<TR VALIGN=TOP>
<!--Column_1--><TD>SR Command and Control</TD>
<!--Column_2--><TD>16 Mb</TD>
<!--Column_3--><TD width="80%">32 Mb</TD>
</TR>
<TR VALIGN=TOP>
<!--Column_1--><TD>SR Dictation</TD>
<!--Column_2--><TD>25.5 Mb</TD>
<!--Column_3--><TD width="80%">128 Mb</TD>
</TR>
<TR VALIGN=TOP>
<!--Column_1--><TD>SR Both</TD>
<!--Column_2--><TD>26.5 Mb</TD>
<!--Column_3--><TD width="80%">128 Mb</TD>
</TR>
</TABLE>

<ul>
<li>The following table outlines the disk usage:</li>
</ul>
<TABLE CELLSPACING=4 COLS=3>
<TR VALIGN=TOP>
<!--Column_1--><TH ALIGN=LEFT WIDTH=20%>File Name</TH>
<!--Column_2--><TH ALIGN=LEFT WIDTH=40%>Approximate File Size</TH>
<!--Column_3--><TH ALIGN=LEFT WIDTH=40%>Setup Merge Names</TH>

</TR>
<TR VALIGN=TOP>
<!--Column_1--><TD>Sapi.dll&nbsp;&amp;&nbsp;Sapisvr.exe</TD>
<!--Column_2--><TD>.5Mb</TD>
<!--Column_3--><TD>Sp5.msm</TD>
</TR>
<TR VALIGN=TOP>
<!--Column_1--><TD>Sapi.cpl</TD>
<!--Column_2--><TD>36k</TD>
<!--Column_3--><TD>Sp5Intl.msm</TD>
</TR>
<TR VALIGN=TOP>
<!--Column_1--><TD>SR Engine</TD>
<!--Column_2--><TD>1.7Mb</TD>
<!--Column_3--><TD>Sp5Sr.msm</TD>
</TR>
<TR VALIGN=TOP>
<!--Column_1--><TD>Command and Control Datafiles</TD>
<!--Column_2--><TD>13.4Mb</TD>
<!--Column_3--><TD>Sp5CCInt.msm</TD>
</TR>
<TR VALIGN=TOP>
<!--Column_1--><TD>Dictation Datafiles</TD>
<!--Column_2--><TD>33Mb</TD>
<!--Column_3--><TD>Sp5DCInt.msm</TD>
</TR>
<TR VALIGN=TOP>
<!--Column_1--><TD>TTS Engine and Voices</TD>
<!--Column_2--><TD>7.8Mb</TD>
<!--Column_3--><TD>Sp5TTInt.msm</TD>
</TR>
</TABLE>


<h3><a name="Installation_Notes">Installation Notes</a></h3>

<p>SAPI and another speech recognition system are not likely to run simultaneously because the two systems would be in contention as to which would use the microphone. Stop any other speech applications before running a SAPI 5 application. Multiple SAPI 5 applications using the shared recognizer will run simultaneously.</p>

<p>On Windows 98 First edition or non-English Second edition, if the computer previously did not have Windows installer, you need to reboot after installing the Speech SDK.</p>

<p>Before installing SAPI 5.0, you need to uninstall or delete previous versions of the SAPI 5 SDK. If the Microsoft Speech SDK needs to be removed, uninstall it from the same CD or install point used originally. This ensures all files are removed correctly.</p>

<p>The SAPI 5.0 release can coexist on your computer with SAPI 4.0. However, applications using different versions are not necessarily compatible and should not be run simultaneously.</p>

<p>You also need to uninstall any applications that use older SAPI 5 builds, including Microsoft&nbsp;Office&#174; 10 beta.</p>

<p>You need to load SAPI 5.0 through the Windows Installer provided on the CD. Windows Installer support is inherent with newer versions of the operating system. However, should the Windows Installer not already present, it will automatically load from the CD or install point during set up.</p>

<p>You need administrator privileges on the computer to install the Speech SDK 5.0 properly.</p>

<p>If you select the silent installation or the "Only for me" option from the Windows Installer, other users will still see Speech properties in the Control Panel window but will not be able to modify it. In that case, other users need to install SAPI 5.0 as well.</p>

<p>None of the SAPI 5.0 components or compliance tests were tested with power-managed (OnNow) computers. As long as the system determines that there is application activity, it will not put the system or any devices into the sleeping state. However, if you encounter unexpected performance issues while using power management, OnNow should be disabled.</p>

<p>Occasionally, it can be difficult to uninstall a previous release of the Microsoft Speech SDK 5.0, and consequently, install the SDK itself. Here are two options:
<blockquote>
(i) Run the application Regedit.exe. Delete all entries under HKEY_CURRENT_USER\Software\Microsoft\Speech\RecoProfiles\Tokens. Deleting the contents of this registry key removes the speech recognition profiles. Next, install the Speech SDK 5.0 .</p>
<p>(ii) If your problem continues, delete the HKEY_CURRENT_USER\Software\Microsoft\Speech and the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech keys. Then try installing the Speech SDK 5.0 .</p>
</blockquote>

<p>You will need to reinstall any recognizers/voices that you have previously installed on the computer.</p>

<p>The <i>sapi.dll</i> file installs into the directory \Program Files\Common Files\Microsoft Shared\Speech. However, the debugging support files <i>sapi.pdb</i> and <i>sapi.sym</i> install into a directory apart from <i>sapi.dll</i> (specifically, \windows\system on Windows 98 and winnt\system32 on Windows NT systems). To debug into SAPI, those two files (<i>sapi.pdb</i> and <i>sapi.sym</i>) need to be moved or copied into the same directory as <i>sapi.dll</i>.</p>

<h3><a name="Known_Issues">Known Issues</a></h3>

<p>There may be additional situations or conditions where SAPI 5.0 performs differently than you expect. Please refer to this list of known issues first. If anomalies persist, you are encouraged to contact <a href="mailto:[email protected]">[email protected]</a>.</p>

<h5>Language Issues</h5>
<p>Compliance tests for some languages may not compile properly after you install a new SAPI 5.0 on Windows&nbsp;2000. Load the language support for Japanese and Simplified Chinese that came with the Windows&nbsp;2000 CD-ROM. For US Windows&nbsp;NT&nbsp;4.0 or Windows&nbsp;98, download Global IME for Japanese and Simplified Chinese Language support from <a href="http://www.microsoft.com/msdownload/iebuild/ime5_win32/en/ime5_win32.htm">http://www.microsoft.com/msdownload/iebuild/ime5_win32/en/ime5_win32.htm</a>. You may also need to install Language packs for Japanese and Chinese from <a href="http://windowsupdate.microsoft.com">http://windowsupdate.microsoft.com</a>. Click Product Updates, select both Chinese (Traditional) Menus and Dialogs for Internet Explorer, and Japanese Menus and Dialogs for Internet Explorer. Click Download and install. Note that Global IME 5.01 does not work with Internet Explorer 5.5.</p>

<p>Language packs need to be installed before SAPI 5.0. If the Microsoft Speech SDK needs to be removed, uninstall it from the same CD or install point used originally. Afterward, the language pack may be installed. SAPI 5.0 may then be loaded with this CD or install point.</p>

<p>By default, the Speech SDK installs English, Japanese, and Chinese engines. On Windows&nbsp;98, Windows Me and Windows&nbsp;NT&nbsp;4.0, you need to either, a) pick the correct engine corresponding to the language support on your computer, or b) install the required language pack.</p>

<p>Japanese or Simplified Chinese SR engines display text improperly or not at all when you use the Microphone Wizard if you have not installed a Japanese or Simplified Chinese font. If you need this capability, you need to install the Global IME. If you use Windows&nbsp;2000, you can install the respective Language Support from your Windows&nbsp;2000 CD-ROM.</p>

<p>Microsoft Japanese speech recognition engines may display inconsistent context free grammar (CFG) results using Windows&nbsp;NT&nbsp;4.0 Japanese with Microsoft IME95 or Microsoft IME97. Install MS-IME98 or a later version to correct the issue.</p>

<p>If you install the Japanese or Chinese version of the SDK and none of the text appears in the Speech properties in the Control Panel, this is probably because it was installed on an operating system that does not support the language. The correct language needs to be enabled in the Regional Options properties in the Control Panel.</p>

<p>If you change the active engine and receive the error "Speech Recognition failed to initialize," please ensure that the correct language pack is installed.</p>

<p>Do not use spaces in text encoded in double byte character set (DBCS).</p>

<p>If a Japanese grammar is written without pronunciation, the Microsoft Japanese SR engine will not properly recognize the CFG. To avoid this, you can write a grammar based on SAPI 5.0 word format of "/display_format/lexical_format/pronunciation;" where "/" is an element separator and, ";" is a word terminator. For Japanese, the "display format" is what you will see. A word may display as Kanji, Kana, or an alphanumeric symbol, or any combination of the three. The "lexical format" is how the word is typed in Hiragana. Pronunciation is indicated using the symbols (Katakana) in the SAPI 5.0 Japanese phonetic list and is similar to the JEIDA TTS Kana list in Katakana. Please refer to SAPI 5.0 documentation for more detail.</p>

<p>The Coffee tutorials contain only English grammars and will work only when an English SR engine is active.</p>

<p>When a Japanese XML grammar specifies either, a) Kanji, Kana, and pronunciation Katakana (display, lexical and pronunciation as /D/L/P;) or, b) Kanji, Kana (/D/L;) as word units, SAPI returns all of the three attributes correctly. If only one of the three forms is specified, it should be the lexical form (Hiragana). If the XML grammar has only plain Kanji word units, SAPI returns the original Kanji phrases in both the display form and lexical form attributes. The engine may not be able to generate the correct pronunciations for this case. Authors are discouraged from using Kanji as the default lexical form.

</p>

<h5>Speech Recognition Issues</h5>
<p>Roaming profiles sometimes yield less optimal recognitions on different systems. You may need to perform additional training on each system you use if the recognition quality is unacceptable.</p>

<h5>Audio Issues</h5>
<p>In the SDK sample Reco.exe, if the shared recognizer is using the audio device and you attempt to activate a grammar with an in-process (InProc) engine, an error occurs since the audio device will be busy and inaccessible. Reco.exe then clears all the boxes. However, it does not re-enable the InProc/shared selection drop-down boxes and you will be unable to do one of the following: switch from InProc to shared, or select a different engine. Selecting, then clearing the Create Recognition Context will return Reco.exe to a consistent state for further use.</p>

<p>If Microphone Wizard fails with error, "Microphone wizard failed to initialize," you need to verify that both a default recognizer and TTS voice exist. A TTS voice is required for the Microphone Wizard to work.</p>

<h5>SDK Sample Issues</h5>
<p>If you modify SR compliance tests, use the newly-compiled version of srcomp.dll and then copy srcomp.dll to the Microsoft Speech SDK5.0\tools\comp\bin folder.</p>

<p>The Skip button for TTSApp.exe does not function when used to skip backward from the last word of a sentence.</p>

<p>XML tags in the text window of TTSApp.exe are automatically applied. When the SpeakXML option is selected, the XML tags are explicitly spoken. For example "&lt;spell&gt;hello&lt;/spell&gt;" is spoken as "less than spell greater than..."</p>

<p>A speech application using the InProc engine will fail to load if Speech properties in the Control Panel is open, as the latter uses the shared engine. Exit all sample applications to start Speech properties in the Control Panel.</p>

<p>For Reco.exe to display properly, you need to make sure the system default locale is set correctly in the Regional Options property of the Control Panel. Otherwise, either no readable characters will appear, or they will display as a series of question marks.</p>

<p>When running recognition in non-English languages, some SDK samples, like Reco.exe, require that you set the system locale to something other than English in order to display non-English characters, even if the sample is compiled as Unicode.</p>

<p>Changes made to rate or volume in TTSApp.exe during synthesis will result in a loss of word highlighting.</p>

<p>Reco.exe fails to load a grammar in a language different from the engine. The engine Language has to match the grammar LangID for this to succeed.</p>

<p>From the command line, Gramcomp.exe cannot open files that contain spaces in the name. Rename the file so that it does not contain spaces.</p>

<p>MkVoice.exe running on Windows&nbsp;98 fails to register a voice. This is because the executable for MkVoice.exe was built as a Unicode application, and therefore will not work in Windows&nbsp;98. Take the source files for MkVoice.exe (which ship in the SDK), edit them so that they use <b>char</b> or <b>TCHAR</b> instead of <b>WCHAR</b> (and all the corresponding function calls, such as wmain-&gt;main or _tmain; wcscat -&gt; strcat or _tcscat; etc.). Rebuild this as an ANSI application.</p>

<h5>Miscellaneous Issues (Control Panel, Compliance, Lexicon, SAPI Core)</h5>
<p>SR compliance tests use the LoadStringW() function that depends on Unicode data. Because Windows&nbsp;98 and Windows&nbsp;Me do not support Unicode, these tests will neither compile nor run with these platforms.</p>

<p>The following procedures for registering the sample TTS voice replace the documented one from the API reference guide.</p>

<blockquote>
From the command line:<br>
Copy <i>Microsoft Speech SDK5.0\bin\mkvoice.exe</i> to the <i>Microsoft Speech SDK5.0\Samples\CPP\Engines\TTS\MkVoice</i> directory. Then run:
<b>mkvoice wordlist.txt SampleVoice.vce SampleVoice</b>.

<p>From the compiler:<br>
After compiling the TTS engine, load <i>Microsoft Speech SDK5.0\Samples\CPP\Engines\TTS\MkVoice\MkVoice.dsw</i> and rebuild it. The voice will automatically register by a post-build command.
</blockquote>

<p>With regards to multiple pronunciations or custom pronunciations, the search order of custom pronunciation words should be as follows: user lexicon, application lexicon, vendor lexicon, and LTS. If a custom pronunciation is specified in a grammar, it should take precedence over other pronunciations.</p>

<p>Many grammar operations are asynchronous for efficiency and result in the inability of the application to detect errors unless the engine is in the stopped or paused state. Hence, if the application needs to test for errors in grammar loading operations and/or setting a CFG or dictation rule state, the application should pause the engine first, perform the operation, and then unpause the engine. This is recommended mainly for debugging a speech application.</p>

<p>If you attempt to write audio with TTS to a non-standard device you may receive this error: "The selected voice could not be initialized. You may not be able to play this voice." This error may indicate that the output device is not valid. For example, it would be inappropriate if the line out on the modem were selected as a TTS device.</p>

<h3><a name="API_Changes">API Changes</a></h3>

<h5>API Changes since SAPI 5.0 Beta release</h5>
<p>This is a list of items that were added or changed to sapi.idl since the SAPI 5.0 Beta release:</p>

<h5>Items added:</h5>
<p>struct SPSERIALIZEDEVENT64</p>
<p>enum SPCONTEXTSTATE</p>
<p>enum SPENDSRSTREAMFLAGS</p>

<h5>Items added to:</h5>
<p>Interface ISpObjectToken : ISpDataKey</p>
<p>interface ISpMMSysAudio : ISpAudio</p>
<p>interface ISpTranscript : IUnknown</p>
<p>struct SPPHRASERULE</p>
<p>struct SPPHRASE</p>
<p>enum SPRECOEVENTFLAGS</p>
<p>interface ISpRecoGrammar : ISpGrammarBuilder</p>
<p>interface ISpRecoContext : ISpEventSource</p>

<h5>Items changed:</h5>
<p>interface ISpObjectToken : ISpDataKey</p>
<p>enum SPPARTOFSPEECH</p>
<p>ISpRecoGrammar : ISpGrammarBuilder</p>
<p>ISpRecoContext : ISpEventSource</p>
<p>ISpRecoGrammar::IsPronounceable</p>

<h5>Items removed:</h5>
<p>WCHAR SPCAT_NLPS</p>
<p>interface ISpDSoundAudio</p>
<p>struct SPVSENTITEM</p>
<p>ISpRecoResult, ISpPhrase: GetGrammarId</p>
<p>enum SPCFGRULEATTRIBUTES: SPRAF_Select</p>

<h5>SAPI DDK items changed:</h5>
<p>This is a list of items that were added or changed to sapiddk.idl since the SAPI 5.0 Beta release:</p>
<p>The ISpCFGEngineClient interface has been removed and its methods incorporated into ISpSREngine.</p>
<p>ISpSREngine interface:</p>
<ul><li>IsPronounceable has been changed</li>
<li>PrivateCallEx added</li>
<li>SetContextState added</li></ul>
<p>_ISpPrivateEngineCall:</p>
<ul><li>CallEngineEx added.</li></ul>

<h5>Coclasses removed:</h5>
<p>coclass SpDSoundAudioEnum</p>
<p>coclass SpDSoundAudioIn</p>
<p>coclass SpDSoundAudioOut</p>
<p>coclass SpWaveFilesAudioIn</p>
<p>coclass SpLTSLexicon</p>

<p>(c) 2000 Microsoft Corporation. All rights reserved.</p>

</BODY>
</HTML>