home *** CD-ROM | disk | FTP | other *** search
-
- ******* CHANGING THE DICTIONARY *******
-
- If you wish simply to add words to the dictionary as "separate words" then
- use the editing feature described in the Edit_Help file in the root
- directory. The procedure described here is used to make more fundamental
- changes and should be used with care. To produce a new Speech! module from a
- modified dictionary, simply drop the dictionary file on to the icon bar or
- any Speech! window, and then use the Editor Save option. However, please
- note that the Speech! module in the !Speech! application is not
- automatically updated by this procedure. If you wish the default Speech!
- module in the !Speech! application to be changed to the new modified Speech!
- module, then simply copy the new Speech! module to that directory by the
- usual procedure. This should only be done on your working disc and not on
- the original program disc.
-
- All the words are put in alphabetical order. The group called "other" is
- used by anything that doesn't start with "a" to "z" i.e. "0-9, =, +" etc.,
- and also accented characters.
-
- All entries are in the following format.
-
- "(user input)_(Speech! phoneme output)|"
-
- The input always has to be in lower case. The "_" divides the input and the
- output of the translation, and the "|" divides each entry.
-
- To translate the word "ARE" you might use the entry:
- "are_AA4AX|" in the ".aa" group.
-
- Whenever "Speech!" finds the text "are/ARE" in you *SAY command then it will
- be translated into "AA4AX" and sent to the *SPEAK command.
-
- To build up a more complicated rule set, you can include checking for before
- and after characters.
-
- To check for a space either side of the "ARE" use the entry:
- "are< > _AA4AX|" in the ".aa" group.
-
- The "<" means before and ">" means after. The "<" must always be before the
- ">" if both are to be included.
-
- The characters for "<" must be read from right to left, for example, to make
- the "S" in the the word "RIVERS" sound like a "Z" use the entry:
- "s<re> _Z|" in the ".ss" group.
-
- This will first find the "S", then back-track finding the "R" then the "E".
- If the parser then finds a space to the right of the "S" then a match has
- been found. If no longer fitting entry can be matched, then this one is used.
-
- You can use wildcard characters, but only in the "<" & ">" checking stage.
-
- ".>*_POY7NT|" in the ".other" group will check for any number to the right
- of the "." If there is one, then say "POINT"
-
- "a>#e_AY|" will check for a consonant after the "A" followed by an "E".
- If correct then speech will say the "A" as in "TAME"
-
- "i>#ing_IY4|" will check for a consonant after the "I" followed by "ING".
- This is for words like "WRITING".
-
- "the> @_DHEE|" will check for a word starting with a vowel after the word
- "THE"
-
- The "\" means check for the same character again, for example:
-
- "ed<#\_D|" will check for two consonants that are the same
- before the "ED". For instance, this entry will be true for
- "slaMMED"
-
- If a word (either a letter or a group of letters) is satisfied by more than
- one input definition, then the longer input definition (ignoring the < and >
- symbols, but including spaces) will take precedence. If two or more input
- definitions which satisfy the word are the same length, then the first that
- appears will take precedence.
-
- Try to put wildcarded entries near the end of each group so that all the
- exceptions will be found first.
-
- For convenience when using the word editing facility, all the "separate
- words" in a group are placed at the start of that group.
-
- [WARNING: DO NOT ATTEMPT TO SAVE ANY FILES ON TO THE ORIGINAL SPEECH! DISC.
- ALWAYS USE YOUR OWN WORKING DISC.]
-
- [Copyright Superior Microcomputing Ltd, 1991 and 1994. All rights reserved.]
-