Abstract:
An enhanced text-to-speech synthesizer accepts freely generated text sequences of words and synthesizes the received sequences with proper emphasis and with properly placed pauses. In combination with other elements, the synthesizer provides for an enhanced Dual Party Relay Service where the text generated by the sound-impaired party is synthesized without an attendant&#39;s intervention. The text generated by users is made more intelligible by interpreting abbreviations, correcting errors (misspellings and &#34;noise&#34;), translating special terms that are used by the community of users, de-emphasizing words based on syntactic considerations and inserting pauses to enhance intelligibility.

Description:
BACKGROUND OF THE INVENTION 
     This invention relates to speech synthesis of freely generated text and, more particularly, to synthesis of freely generated text created by sound-impaired (hearing-impaired or speech-impaired) persons. 
     Dual Party Relay Service is a service that allows sound-impaired individuals to communicate with individuals who are not so impaired. By dialing a specified number, such individuals are interconnected to an attendant that connects the calling party to the called party and relays the established conversation. 
     More specifically, incoming calls from sound-impaired users are placed through a digital device, such as a Telecommunications Device for the Deaf (TDD) or a computer terminal and a modem. The sound-impaired user enters text through the TDD (or the like) and the text is received and displayed to the attendant. Through a separate connection, the attendant speaks the displayed text words to the unimpaired party, listens to the spoken response of the unimpaired party and transmits a written text message to the sound-impaired party which corresponds to the spoken response heard by the attendant. The sound-impaired party receives the written text message on a display device. 
     The above-described procedure suffers from lack of privacy. It is also very slow, cumbersome, and highly labor intensive. It would be highly beneficial to both the users and the telephone company to eliminate or at least reduce the attendant&#39;s involvement in calls to and from sound-impaired parties. 
     The potential clearly exists for eliminating the need for an attendant&#39;s assistance at least in the direction where text is converted to speech. One example is the &#34;telephone information&#34; service of AT&amp;T and the Bell Operating Companies. In response to an inquiry, the telephone information operator accesses a data base, identifies the desired number and activates a synthesizer. However, this and all of the known other text-to-speech synthesizers systems deal exclusively with &#34;canned&#34; speech, which is speech (or text) with a predefined syntax and vocabulary. 
     In principle, it should be possible to enter the text generated by a TDD user into a speech synthesizer and have the synthesizer generate the spoken words which could be transmitted to a person who is not sound-impaired. In practice, this is not easy to do. Speech synthesizers convert text to speech exactly as the text appears. This requires the text to be correct, error free, properly punctuated and in standard syntax. Written language of the deaf, however, exhibits many departures from expected patterns of English syntax (or other languages, for that matter). The following three sentences are examples of written language of the deaf (WLD) texts that were produced by different writers: 
     They tend refusing to communicate. 
     Some people have strong based on knowledges. 
     I have many appointment from my childrens. 
     In a study of WLD, V. R. Charrow in Deaf English Technical Report 236, Institute for Mathematical Studies in the Social Sciences, Stanford University, 1974, asserts that the variability of WLD is systematic and rule-governed. She writes: 
      I suggest that the deaf are constructing a different variety of English, based on an internalization of certain rules of English, but not others, and affected, in some cases, by interference from ASL, whose rules are radically different from those of English. The result is the hypothesized `Deaf English`. 
     An examination of WLD syntax supports Charrow&#39;s claim. Although syntactic variation in WL texts appears random, a closer look shows that the variation is consistent. WLD exhibits a collection of non-standard features that can be identified and described. Some anecdotal evidence for this conclusion comes from the fact that standard English speakers usually adapt to the style after reading a number of WLD texts; serious comprehension problems seem to arise only when sentences are extremely telegraphic, word order is exceptionally free, or lexical choices are obscure. 
     In short, what is needed for the Dual Party Relay Service is the ability to accept and synthesize freely generated text; and the consistency of WLD suggests that computational analysis of this language style might be a feasible goal. 
     SUMMARY OF THE INVENTION 
     Motivated by the need to enhance the Dual Party Relay Service, this invention provides for text to speech synthesis of freely generated text. More particularly, this invention offers a text-to-speech synthesizer that accepts a freely generated text sequence of words and synthesizes the sequence with proper emphasis and with properly placed pauses. In combination with other elements, this invention provides for an enhanced Dual Party Relay Service where the text generated by the sound-impaired party is synthesized without the attendant&#39;s intervention. The synthesis can take place at the sound-impaired person&#39;s premises, at the local telephone central office, or at some designated regional location. 
     In combination with still additional elements, this invention provides for a completely automatic two-way communication with sound-impaired parties by including a speech-to-text converter. 
     In accordance with the principles of this invention, text that is generated by a sound-impaired user is made more intelligible by interpreting abbreviations, correcting errors (misspellings and &#34;noise&#34;), translating special terms that are commonly used by sound-impaired persons, translating non-standard word sequences or phrases, and in general, converting the text messages to more standard English. In addition, pauses are inserted to enhance intelligibility. 
     In one preferred embodiment of this invention, text is inserted into a processor which analyzes a selected number of words at a time. Based on predefined rules, signals are applied to a conventional synthesizer to develop the speech signal. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     FIG. 1 depicts a block diagram of a text to speech sound conversion system; 
     FIG. 2 illustrates the use of the text to speech conversion system in a telephone network, together with a speech to text conversion system; 
     FIG. 3 presents a flow chart for one manner of signal processing in the system of FIG. 1; and 
     FIG. 4 presents a flow chart for another manner of signal processing in the system of FIG. 1. 
    
    
     DETAILED DESCRIPTION 
     FIG. 1 illustrates, in block diagram form, one embodiment for the freely generated text-to-speech synthesizer of this invention. Block 10 is an intelligent parser, and block 20 is a synthesizer. Synthesizer 20 is a conventional synthesizer such as the &#34;Olive-Liberman Synthesizer&#34;, J. P. Olive and M. Y. Liberman, 1985, Text-to-speech--An Overview, Journal of the Acoustic Society of America, Supplement 1 78, S6. Its input, on line 21, is text that is at times annotated with special instructions. Its output, on line 22, is the analog speech signal. 
     Intelligent synthesizer 10 comprises word detector 11, &#34;word store&#34; blocks 12, 13 and 14 and rule based processor 15. Text is entered into term detector 11 where words, or terms, are identified. Typically, a blank space, a punctuation mark, or the end of a line denotes the end of a term. The punctuation marks are terms in and of themselves. Detected terms are inserted into the serial interconnection of &#34;word store&#34; 12, &#34;word store&#34; 13 and &#34;word store&#34; 14 in a shift register fashion. Although FIG. 1 depicts the use of three &#34;word store&#34;s (12, 13 and 14), it should be appreciated that any number of such stores may be used. The terms stored in each one of the &#34;word store&#34;s is received by rule-based processor 15. 
     The function of processor 15 is to analyze the terms applied thereto, to modify the applied terms, to incorporate emphasis and pauses in syntactically proper places, and to apply the modified terms to synthesizer 20 at the appropriate times. 
     The rules executed within processor 15 can be divided into two classes: the rules that identify and alter terms and the rules that recognize relevant syntactic information. 
     The rules that identify and alter terms take care of recognizing abbreviations, recognizing special terms that are used by the relevant community of users, recognizing word phrases containing a number of words equal to the number of &#34;word stores&#34; (in FIG. 1, that number is 3) and recognizing misspellings, typographical errors and other &#34;noise&#34; entries. A common &#34;noise&#34; entry, for example, is &#34;XXXXX&#34;, which typically denotes deletion of letters (in this case, 5 letters). 
     In addition to the above word modifications, the rules that identify and alter terms also perform a disambiguation function to make the text more accurate and more intelligible. That includes adding words (e.g. prepositions) to make the text have a more standard English syntax. 
     After the rules that identify and alter terms are applied, the syntactic rules are applied. These rules apply local syntactic constraints to determine whether a pause should come before or after any word in the &#34;word stores&#34;. 
     In connection with pauses, the issue of input timing and processing timing must be addressed. Timing of spoken speech is quite important to intelligibility or, more accurately, the relative timing of groups of words is critical. However, information about timing is not available in the text supplied by a TDD, and the arrival times of text words bear no relationship whatsoever to the proper timing of the spoken speech. Additionally, the processing times within processor 15 are not known a priori, so the timing of the output signals of processor 15 does not track the timing of the input signals. Furthermore, one can have the situation where closely timed incoming text requires so much processing time that an input buffer must be provided, whereas in other situations, the text may be slow in coming and there is a substantial hiatus in the processing needed of processor 15. Neither situation should be allowed to affect the timing correctness of the synthesized output. 
     To that end, intelligent parser 10 includes a FIFO memory 16 interposed between term detector 11 and &#34;word store&#34; 12, and a FIFO memory 17 interposed between processor 15 and synthesizer 10. FIFO memory 16 operates under control of term detector 11 and processor 15. As soon as a term is detected, it is stored in FIFO 16; and as soon as the processing of the term in &#34;word store&#34; 14 is completed, the oldest term in FIFO 16 is injected into &#34;word store&#34; 12. 
     FIFO 17 is also under control of processor 15, but it works in a slightly different mode. As soon as a term is modified by processor 15 it is inserted into FIFO 17. Modified terms continue to be inserted until processor 15 determines that a pause in the speech is called for. At that time, all of the terms sorted in FIFO 17 are extracted, in order, and sent to synthesizer 20. In this manner, the completely arbitrary timing of the incoming words is replaced with a timing that comports with the rhythm of natural speech. 
     The structure of FIG. 1 contemplates different and distinct hardware for carrying out the functions for the intelligent parser-synthesizer of this invention. Such a parser-synthesizer may be placed in each local telephone central office, in some regional office, or associated with a particular type of service (such as the called-party-paying &#34;800 service&#34; or the calling-party-paying &#34;900 service&#34;). 
     Such hardware may also be realized in a very compact arrangement that is embodied in one or very few interated circuits. When that realization is carried out, and when the price is low enough, the intelligent parser-synthesizer of FIG. 1 may be included in a customer premises apparatus. FIG. 2 depicts such an arrangement, which includes a subsystem at the customer&#39;s premises that is connected to the telephone network. The subsystem of FIG. 2 includes the intelligent parser-synthesizer for the outgoing path, and a speech-to-text converter 30 for the incoming path. Both paths are connected to the telephone network, and through that network the subscriber at the left portion of the drawing is connected to some other subscriber at the right portion of the drawing. 
     Speech-to-text converters 30 are not as yet robust enough to recognize and detect free flowing speech of arbitrary speakers, but some systems are available that can be trained to recognize up to 5000 words, when trained to a particular speaker. Other systems recognize a more limited vocabulary but from any speaker. Even this modest capability is useful, because the sound-impaired user would not need to enlist the assistance of an attendant at all in some instances, such as when &#34;speaking&#34; by telephone with particular persons (e.g. spouse) when a 5000 word recognition system is used. 
     There is another aspect to the form of the hardware embodiment that the intelligent parser-synthesizer may take. That is, the FIG. 1 structure may be implemented with a program controlled processor that encompasses all of the elements in FIG. 1, or at least all of the elements within block 10. FIG. 3 presents a flow diagram of the processing performed in a hardware embodiment of FIG. 1, while FIG. 4 presents a flow diagram of the processing performed with a program controlled processor that encompasses all of block 10. 
     The first block in FIG. 3 (block 100) converts each term that enters &#34;word store&#34; 12 into a data structure. That is, each term is made a part of an associated set of information items, such as the term&#39;s spelling, the part of speech to which the term belongs, whether the term is an abbreviation, etc. (Since the terms stored in &#34;word stores&#34; 13 and 14 had previously been in &#34;word store&#34; 12, their data structures are already stored in processor 15.) 
     With the data structures established for the terms in the &#34;word stores&#34;, the next step (block 110) is to apply the word adjustment rules. The consequences of the word adjustment rules are stored in the data structures. Next, in block 120, the syntactic rules are applied to determine whether pause flags or a de-emphasis flag should be set. The consequences of this analysis are also stored in the data structures. Finally, in block 130, the processed term of &#34;word store&#34; 14 is stored in FIFO 17. 
     Block 140 executes the query that leads to an output being provided to the synthesizer. When it is determined that the term stored in FIFO 17 includes a &#34;pause-before&#34; flag, then the FIFO is emptied (the stored information is sent to the synthesizer) and then the term is stored in the FIFO. When a &#34;pause-after&#34; flag is found, then the term is first stored and after the storing action the FIFO is emptied. When neither flag is found, the term is merely stored. In any event, as depicted in FIG. 3, the process continues to block 100 to receive the next term from FIFO 16, as it is loaded into &#34;word store&#34; 12. 
     FIG. 4 depicts the process by which the intelligent parser of this invention is realized with a program controlled processor. Block 200 stores the input text string into memory and sets a variable *terminal-string* to be the input text string. Block 210 converts each word in *terminal-string* into a &#34;term&#34; data structure with the following fields: 
     spelling=the spelling of the word, or the printed form of the word, minus any punctuation (? !128). Note that the period (.) is not included as a punctuation because some common TDD words end in a period. 
     category=if first character of the word is a digit (1 2 3 4 5 6 7 8 9 0), return NUM as category otherwise, the category of the term is the lexical category of the term, which corresponds to the &#34;part of speech&#34; of the known given English or TDD-dialect word. Unknown words are assigned a category of NIL. 
     special-categories=Some &#34;words&#34; belong to one or more word classes in addition to &#34;parts of speech&#34;. This field identifies those special categories (see below). 
     previous=pointer to previous word in the list that makes up *terminal-string*, if any; else NIL. 
     next=pointer to next word in the list, if any, else NIL. 
     pause-before=initially empty (NIL); may later be populated to insert pause by the appropriates character string that is recognized by the synthesizer. 
     pause-after=initially empty (NIL); may later be populated to insert pause by the appropriates character string that is recognized by the synthesizer. 
     destress=initially empty (NIL); may later be populated to modify the synthesizer&#39;s default speech parameters for this word. 
     punctuation=contains the punctuation which terminates the word (either;, ! or ?). 
     The above structure is merely illustrative and other structures can, of course, be employed. 
     The special categories of a word (third field in the data structure above) may comprise 
     
         ______________________________________end-of-text markers              go.ahead.1 -- e.g.,              go.ahead.2 -- e.g.,              stop.keying -- e.g.,              q.go.ahead -- e.g.,grammatical word classes              interjection.1 -- e.g.,              interjection.mod -- e.g.,              oneof.and.or.nor -- e.g.,              nom.pronouns -- e.g.,              subord.1 -- e.g.,              subord.2 -- e.g.,              subord.mod -- e.g.,              destress.pronouns -- e.g.,1-word-abbreviations -- e.g.,two word expressions -- e.g.,three word expressions -- e.g.,______________________________________ 
    
     Returning to FIG. 4, block 220 sets the variable *first-term* to point to the first term in the list created by block 210. This sets the stage for the beginning point where terms will be delivered to the synthesizer. Thereafter, block 230 sets the pause-before field of the first term (pointed to by *first-term*) to &#34;true&#34;. 
     Block 240 begins the actual processing phase by applying rules for identifying misspellings and noise entries. The processing of block 240 is quite conventional in the sense that in the checking the spelling it may borrow from the approaches taken by any one of the many word processing products that are commercially available, such as &#34;word&#34;, &#34;word perfect&#34; etc. These products have mechanisms for determining whether a word is found in a dictionary and, in cases where the word is not found, what correctly spelled words most resemble the misspelled word. A best match procedure can also be employed, as described, for example, in U.S. application titled &#34;A Method for Correcting Spelling using Error Frequencies&#34;, filed Jun. 14, 1990. Once the correctly spelled word is identified in a table, the category of the word, as well as its special categories, can be extracted from the same table. 
     Block 250 continues the word alteration processing. By sliding a 3-word &#34;window&#34; along the list of terms in *terminal-string*, it filters out abbreviations and unorthodox contractions, and attempts to disambiguate the text. That is, it attempts to replace the shortened input text with the proper full-spelling word texts that would be synthesized. Block 250 also performs the converse function of contracting some two word and three word expressions to function as single words; at least for purposes of syntactic analysis. Because these rules may change the number of words in the term list, they often perform splicing of the previous and next list, as well as updating the variable *first-term*. (A few of these rules also refer to the term preceding *first-term*). The following are examples of abbreviations, unorthodox contractions, two word phrases and three word phrases. 
     
         __________________________________________________________________________Conventional Abbreviations              Unorthodox Contractions__________________________________________________________________________(&#34;min&#34;&#34;minute&#34;)    (&#34;:-)&#34;&#34;haha&#34;)(&#34;pm&#34;&#34;PM&#34;)         (&#34;agt&#34;&#34;agent&#34;)(&#34;yrs&#34;&#34;years&#34;)     (&#34;bcuz&#34;&#34;because&#34;)(&#34;ans&#34;&#34;answer&#34;)    (&#34;bec&#34;&#34;because&#34;)(&#34;asap&#34;&#34;assoonaspossible&#34;)              (&#34;fone&#34;&#34;phone&#34;)(&#34;att&#34;&#34;AT&amp;T&#34;)      (&#34;fwd&#34;&#34;forward&#34;)(&#34;avg&#34;&#34;average&#34;)   (&#34;hld&#34;&#34;hold&#34;)(&#34;bldg&#34;&#34;building&#34;) (&#34;nyrc&#34;&#34;NewYorkRelayCenter&#34;)(&#34;doc&#34;&#34;doctor&#34;)    (&#34;pblm&#34;&#34;problem&#34;)(&#34;ext&#34;&#34;extension&#34;) (&#34;ph&#34;&#34;phone&#34;)(&#34;fig&#34;&#34;figure&#34;)    (&#34;pls&#34;&#34;please&#34;)(&#34;hrs&#34;&#34;hours&#34;)     (&#34;qq&#34;&#34;?&#34;)              (&#34;r&#34;&#34;are&#34;)              (&#34;wudnt&#34;&#34;wouldn&#39;t&#34;)              (&#34;yur&#34;&#34;your&#34;)__________________________________________________________________________Two Word Expressions              Three Word Expressions__________________________________________________________________________((&#34;a&#34;&#34;while&#34;)&#34;awhile&#34;)              ((&#34;a&#34;&#34;little&#34;&#34;while&#34;)&#34;alittlewhile&#34;)((&#34;believe&#34;&#34;so&#34;)&#34;believeso&#34;)              ((&#34;as&#34;&#34;far&#34;&#34;as&#34;)&#34;asfaras&#34;)((&#34;byebye&#34;)&#34;byebye&#34;)              ((&#34;as&#34;&#34;long&#34;&#34;as&#34; )&#34;aslongas&#34;)((&#34;for&#34;&#34;example&#34;)&#34;forexample&#34;)              ((&#34;as&#34;&#34;well&#34;&#34;as&#34;)&#34;aswellas&#34;)((&#34;ga&#34;&#34;sk&#34;)&#34;gask&#34;) ((&#34;by&#34;&#34;the&#34;&#34;way&#34;)&#34;bytheway&#34;)((&#34;hang&#34;&#34;down&#34;)&#34;hangdown&#34;)              ((&#34;ga&#34;&#34;or&#34;&#34;sk&#34;)&#34;gaorsk&#34;)((&#34;hope&#34;&#34;so&#34;)&#34;hopeso&#34;)              ((&#34;ga&#34;&#34;to&#34;&#34;sk&#34;)&#34;gatosk&#34;)((&#34;ily&#34;&#34;smile&#34;)&#34;Iloveyou,smile&#34;)              ((&#34;ha&#34;&#34;ha&#34;&#34;ha&#34;)&#34;hahaha&#34;)((&#34;instead&#34;&#34;of&#34;)&#34;insteadof&#34;)              ((&#34;just&#34;&#34;ok&#34;&#34;enough&#34;) &#34;justokenough&#34;)((&#34;it&#34;&#34;s&#34;)&#34;it&#39;s&#34;)  ((&#34;mother&#34;&#34;in&#34;&#34;law&#34;)&#34;mother-in-law&#34;)((&#34;just&#34;&#34;ok&#34;)&#34;justok&#34;)              ((&#34;other&#34;&#34;than&#34;&#34;that&#34;)&#34;otherthanthat&#34;)((&#34;ok&#34;&#34;bye&#34;)&#34;okbye&#34;)              ((&#34;over&#34;&#34;n&#34;&#34;over&#34;)&#34;overandover&#34;)((&#34;ok&#34;&#34;enough&#34;)&#34;okenough&#34;)((&#34;open&#34;&#34;up&#34;)&#34;openup&#34;)((&#34;opened&#34;&#34;up&#34;)&#34;openedup&#34;)((&#34;put&#34;&#34;off&#34;)&#34;putoff&#34;)((&#34;think&#34;&#34;so&#34;)&#34;thinkso&#34;)((&#34;u&#34;&#34;ll&#34;)&#34;you&#39;ll&#34;)((&#34;u&#34;&#34;re&#34;)&#34;you&#39;re&#34;)((&#34;u&#34;&#34;ve&#34;)&#34;you&#39;ve&#34;)((&#34;went&#34;&#34;on&#34;)&#34;wenton&#34;)__________________________________________________________________________ 
    
     The rules embodied in block 250 may be customized to the application at hand and modified by the experience gained. The following is one example of such rules, (described in the order applied). 
     
         ______________________________________Rule 1 - 3-word-expression made up of term1 term2 term3if (term1-spelling + term2-spelling + term3-spelling is in foundin *3-word-expressions* table)then REPLACE spelling of term3 with canonical spellingRECOMPUTE the category and special categories for thenew spelling.DELETE term1 and term2 from the list of terms.UPDATE the list of termsRule 2 - 2-word-expression term1 term2if (term1-spelling + term2-spelling + is in found in*3-word-expressions* table)then REPLACE spelling of term2 with canonical spellingRECOMPUTE the category and special categories for thenew spelling.DELETE term1 from the list of terms.UPDATE the list of termsRule 3 - 1-word-abbreviation term1if special-categories of term1 is found in abbreviation tablethen REPLACE spelling of term1 with canonical spellingRECOMPUTE the category and special categories for thenew spellingRule 4 - disambiguate term1 term2 term3 (example)if the category of term1 is &#34;num&#34;, and the spelling of term2 is&#34;am&#34;then REPLACE the spelling of term2 with &#34; AM&#34;______________________________________ 
    
     Followikng block 250, block 260 continues the processing by introducing phrase rules that add prosodic cues to the speech synthesizer by filling in the pause-before, pause-after, and destress fields of selected terms. The rules that are carried out may be as follows: 
     
         ______________________________________Rule 5 - discourse-keys term1 term2 term3(1) if special-categories of term2 includes interjection.sub.-- 1then   if special-categories of term1 includes interjection.sub.-- modthen   SET pause-before of term1 to &#34;true&#34;  SET pause-after of term2 to &#34;true&#34;otherwise  SET pause-before of term2 &#34;true&#34;  SET pause-after term2 to &#34;true&#34;(2) if special-categories of term2 includes interjection.sub.-- 2then   if special-categories of term1 includes interjection.sub.-- modthen   SET pause-before of term1 to &#34;true&#34;  SET pause-after of term2 to &#34;true&#34;(3) if (the previous field of term1 is NULL, and thespecial-categories of term1 includes either interjection.sub.-- 1or interjection.sub.-- 2)then   SET pause-after of term1 to &#34;true&#34;Rule 6 - conjunction term1 term2 term3if special-categories of term2 includes oneof.sub.-- and.sub.-- or.sub.--northen   if the spelling of term1 is not identical to the spelling  of term3 or the category of term1 is not identical to the  category of term3then   SET pause-after of term1 to &#34;true&#34;Rule 7 - nominative-pronoun term1 term2 term3(1) if special-categories of term3 includes nom.sub.-- pronouns, andspecial-categories of term2 includes aux.sub.-- verb.1then   if the category of term1 is WHthen   SET pause-before of term1 to &#34;true&#34;otherwise  SET pause-before of term2 to &#34;true&#34;(2) if special-categories of term3 includes nom.sub.-- pronouns, and(special-categories of term2 includes pre.sub.-- np.sub.-- 1or the category of term2 = ADV)then   if (the category of term1 DOES NOT equal CONJ or  PREP, and term1 spelling DOES NOT include  &#34;that&#39;s&#34;, &#34;thats&#34;, &#34;it&#39;s&#34;, &#34;its&#34;)then   SET pause-before of term2 to &#34;true&#34;(3) if special-categories of term2 includes nom.sub.-- pronounsthen   if category of term1 DOES NOT equal CONJ or  PREP, and special-categories of term1 DOES NOT  include (subord.sub.-- 1 or subord.sub.-- 2 or pre.sub.-- np.sub.--   1 or  aux.sub.-- verb.sub.-- 1)then   SET pause-before of term2 to &#34;true&#34;Rule 8 - there-is term1 term2 term3(1) if word-spelling of term3 is &#34;there&#34;, andspecial-categories of term2 includes auxverb.sub.-- 1then   if the category of term1 = WH,then   SET pause-before of term1 to &#34;true&#34;(2) if term2 word-spelling is &#34;theres&#34;, &#34;there&#39;s&#34;, &#34;that&#39;s&#34;, &#34;thats&#34;,or &#34;there&#34; and the special-categories of term3 includesaux.sub.-- verb.sub. -- 1then   if the category of term1 DOES NOT equal CONJ or  PREP, or special-categories of term1 DOES NOT  include subord.sub.-- 1, subord.sub.-- 2, or pre.sub.-- np.sub.--  1then   SET pause-before of term2 to &#34;true&#34;Rule 9 - Subordinating-conj term1 term2 term3(1) if special-categories of term3 includes subord.sub.-- 1then   if the term-category of term2 DOES NOT equal  NUM, and the term-spelling of term3 DOES NOT  equal &#34;till&#34;, &#34;til&#34;, or &#34;until&#34;then   if special-categories of term2 includes subord.sub.-- mod, OR  category of term2 equals CONJthen   SET pause-after of term1 to &#34;true&#34;otherwise  SET pause-after of term2 to &#34;true&#34;(2) if special-categories of term3 includes subord.sub.-- 2, andsubord.sub.-- mod, or category of term2 equals CONJ or PREPthen   SET pause-after of term1 to &#34;true&#34;Rule 10 - final-destressing term1 term2if special-categories of term1 includes destress.sub.-- pronounsthen   (1) if pause-before of term2 is &#34;true&#34;then   SET destress of term1 to &#34;true&#34;  (2) if pause-after of term1 is &#34;true&#34;then   SET destress of term1 to &#34;true&#34;Rule 11 - find-ga term1(1) if special-categories of term1 includes q.sub.-- go.sub.-- aheadthen   (a) REPLACE spelling of term1 to &#34;go ahead.&#34;  SET special-categories of term1 to 0  (b) if previous of term1 IS NOT null  SET punctuation of previous of term1 to &#34;?&#34;(2) if special-categories of term1 includes go.sub.-- ahead.sub.-- 2then   REPLACE spelling of term1 to &#34;.go ahead.&#34;  SET special-categories of term1 to 0(3) if special-categories of term1 includes go.sub.-- ahead.sub.-- 1then   REPLACE spelling of term1 to &#34;.go ahead to stop  keying.&#34;  SET special-categories of term1 to 0(4) if special-categories of term1 includes stop.sub.-- keyingthen   REPLACE spelling of term1 to &#34;.stop keying.&#34;  SET special-categories of term1 to 0______________________________________ 
    
     Lastly, block 260 creates an output file for the final pronunciation string. It processes the list of terms from first to last, as follows: 
     
         ______________________________________if pause-before field = TRUEthen      write a pause control string     if destress = TRUEthen      write a de-stress control string     write the contents of the spelling fieldif pause-after = TRUEthen      write a pause control string     write the contents of the punctuation field.______________________________________