Published online by Cambridge University Press: 26 March 2010
The following are some examples of the text produced by SLANG-I (parts of the grammar used are in Appendix C). Recall that SLANG-I was not provided with an orthographic stratum, so there are no “an”s, punctuation or capitalization– except as provided by the systems at the word rank (the dictionary). To avoid confusion, line spacing has been added in lieu of punctuation where necessary.
In all cases SLANG-I generates the text one clause at a time. Although some of the samples are of paragraph length, it should not be inferred that SLANG-I has done any text planning; all the examples are collections of clauses which, as far as SLANG-I is concerned, were generated independently.
Explanation for a hypothetical expert system
The following example was generated to demonstrate the grammar, and to illustrate the utility of flexible natural-language generation in expert systems.
Suppose there is a hypothetical medical expert system interviewing the mother of a patient named Mary (following an example in Hasling et al., 1984). The mother has reported that Mary has been suffering from stiff neck muscles and headaches. At this point the hypothetical dialogue continues:
Does Mary have a fever?
*WHY
Mary's mother wants to know why she is being asked this question. The following text was generated by preselecting the grammatical features by hand. The construction of a good semantic stratum in this domain would be a major project in itself.
To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.