<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1"/><title>A Case-Based Reasoning Approach for Speech Corpus Generation</title><pubinfo>R. Dale et al. (Eds.): IJCNLP 2005, LNAI 3651, pp. 993 -1003, 2005. © Springer-Verlag Berlin Heidelberg 2005</pubinfo><author surname="Fan" givenname="Yandong"><org  name="Monash University" country="Australia" city="Clayton"/></author><author surname="Kendall" givenname="Elizabeth"><org  name="Bath University" country="United Kingdom"/></author></firstpageheader><frontmatter><p><b>A Case-Based Reasoning Approach for Speech Corpus Generation</b></p><p>Yandong Fan and Elizabeth Kendall</p><p>School of Network Computing, Faculty of IT, Monash University, Australia yandong.fan@infotech.monash.edu.au Kendall@infotech.monash.edu.au</p></frontmatter><abstract><b>Abstract. </b>Corpus-based stochastic language models have achieved significant success in speech recognition, but construction of a corpus pertaining to a specific application is a difficult task. This paper introduces a Case-Based Reasoning system to generate natural language corpora. In comparison to traditional natural language generation approaches, this system overcomes the inflexibility of template-based methods while avoiding the linguistic sophistication of rule-based packages. The evaluation of the system indicates our approach is effective in generating users' specifications or queries as 98% of the generated sentences are grammatically correct. The study result also shows that the language model derived from the generated corpus can significantly outperform a general language model or a dictation grammar. </abstract></header><body><section number="1" title="Introduction"><p>Stochastic language models have achieved significant success in speech recognition since the last decade [1, 2]. The main underlying technique in stochastic approaches is the use of corpora. The successful utilization of corpora has been proven by many researchers [3,4,5]. However, construction of a corpus pertaining to a specific application is a difficult task, given that there is no pre-knowledge on how users might communicate with the application before the deployment of a system. Research [6] has been conducted to explore the effectiveness of Web-based text corpus generation. Although the proliferation of eText has made the collection of textual material easier than ever, Thompson [7] argues that actually locating eText appropriate to your needs can be quite difficult. Moreover, in the context of conversational systems, the suitability of corpora purely collected from the Internet is controversial due to the difference of written text and spoken language.</p><p>Although generally there is a lack of spoken material pertaining to a new application, ample transcriptions do exist in some well-established domains, such as the Air Traffic Information System (ATIS) domain. User modeling has been studied for long and conversations between users and agents of spoken language systems have been recorded and accumulated for decades in these domains. In our project, we seek to develop a speech-enabled mobile commerce application, which we called the MCCS (Mobile Car City system). The system allows a mobile-phone user to specify preferences or initiate queries by speech at the beginning of the conversation. Then all car models conforming to the preferences or queries are retrieved to guide the user in finding specific car models that meet his/her needs.<page local="2"/> Through carefully examining the spoken transcriptions from the ATIS domain, we believe that user specifications or queries in the MCCS system should share significant similarity in sentence syntactic structure with their counterparts in the ATIS domain. Motivated by this assumption, we believe that the MCCS system can learn a set of sample sentences from the ATIS domain, which can then be used as the knowledge base for case-based reasoning (CBR) to generate a speech corpus pertaining to the MCCS domain.</p><p>NLG (Natural Language Generation) research has been dominated by two approaches in the past three decades: template-based and rule-based [8, 9]. Some claim that template-based approaches are not flexible enough while others criticize the sophistication of linguistic grammars implemented in rule-based approaches [8]. A new strand in the arena is learning-based NLG, in which the objective is to learn the mapping from semantics to surface realization through sample sentences. Research [10, 11, 12] suggests that learning-based approaches can balance the inflexibility of template-based methods and the linguistic sophistication of rule-based NLG packages when developing domain-specific generation systems.</p><p>In this paper, we explore an incremental learning approach for speech corpus generation. Firstly, a set of sample sentences pertaining to user specifications or queries in the MCCS application are learnt from the ATIS domain. Secondly, a CBR system is built to generate a corpus based on those sample sentences. Finally, an n-gram language model is derived from the corpus by learning the statistical distribution of tokens. The paper is structured as follows. Section 2 introduces the general structure of the corpus generation system. Detailed implementation of the system is described through Section 3-5. Section 6 presents the evaluation results of the generated corpus. Related work is discussed in Section 7. We conclude the study and briefly discuss potential future work in Section 8.</p></section><section number="2" title="System Overview"><p>Our aim is to develop a case-based, domain-specific generation system that can significantly reduce complexity in comparison to rule-based solutions. Case-based reasoning (CBR) systems have long been applied for problem solving in many areas, such as classification, diagnosis, configuration and design, and planning, but only recently has it attracted significant attention from researchers in NLG. Like any other CBR system, a CBR-based NLG system has to include the following components:</p><p>• Sample sentence set (Case Base)</p><p>• Schema for sentence structure, includes semantic and syntactic (Knowledge Representation)</p><p>• Similarity measurement (Acceptance Function)</p><p>• Sentence generation (Case Retrieval and adaptation algorithms)</p><p>Figure 1 represents the overall structure of our CBR-based corpus generation system. The system implements a pipeline architecture consisting of three stages. Firstly, an initial sample sentence set is created manually to integrate an ATIS sentence base (ASB) and a MCCS phrasal base (MPB). The ASB is a collection of sentences from a well-established corpus in the ATIS domain.<page local="3" global="995"/> The MPB collects phrases in describing car model features, which are abstracted from car manufacturers' websites and marketing brochures. Through careful analysis on the sentences in the ASB and the phrases in the MPB, sample sentences for user queries or specifications pertaining to the MCCS system can be created to form a case sentence base (CSB). The examples (2.1)-(2.3) show an ATIS sentence from the ASB, a MCCS phrase from the MPB, and a sample sentence from the CSB, respectively.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">994</doubt><p>I prefer <b>[PluralObject </b>flights] <b>[ServiceFeature </b>serve lunch] (2.1) <b>[SingularObject </b>A car] with <b>[NumOfDoorFeature </b>four doors] (2.2) I prefer <b>cars </b>with <b>four doors. </b>(2.3)</p><p>Secondly, these sample sentences in the CSB are annotated to abstract semantic structure and corresponding syntactic structure, which become the case representation for instance learning. Finally, based on the understanding of the characteristics of user queries and specifications, a new input that represents a unique semantic meaning passes through the CBR system. The similarity between the input and a case is calculated and examined. If the distance is within the predefined threshold, adaptation is conducted to generate a new syntactic structure for the semantic input. This procedure is continuously performed until all possible inputs are enumerated. The resultant corpus is then ready for creating an n-gram language model.</p><p><b>Sample Sentence Creation</b> <b>Case Sentence Annotation</b>• Build up the sample sentence set</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">Ï</doubt><p>• Implement the schema for representing the semantic and syntactic structure of sample sentences</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">I</doubt><p><b>Corpus Generation</b>• Retrieve cases from the set</p><p>• Calculate the distance between a new input and a case</p><p>• Perform adaptation to generate new sentences</p><p><b>Fig. 1. </b>Main procedures of the CBR-based corpus generation system</p></section><section number="3" title="Sample Sentence Set"><p>We collect utterances pertaining to user preference specifications or queries from the ATIS domain. The utterances are classified into four categories [13] according to their sentence acts. The followings are examples for each category:</p><page local="4" global="996"/><p><i>Declarative: </i>I prefer a <b>[TimeFeature </b>morning] <b>[SingularObject </b>flight]. (3.1) <i>Imperative: </i>Show me the <b>[PriceFeature </b>cheapest] <b>[SingularObject </b>flight]. (3.2) <i>Yes-no-question:</i><i> </i>Can you give me some information for <b>[Carrier </b>United]? (3.3)</p><p><i>Wh-question: </i>What <b>[PluralObject </b>flights] <b>[ServeFeature </b>serve breakfast]      (3 4) and <b>[HaveFeature </b>have stops]? (3.4)</p><p>Each sentence in the ASB has been annotated by assigning conceptual categories [14] to domain concepts reflecting semantic meanings. Such simple annotations can help us create sample sentences in the MCCS domain by substituting or adjoining operations. The examples (3.5)-(3.8) show the corresponding cases in the CSB rooted from (3.1)-(3.4). There are in total 114 cases in the CSB.</p><p><i>Declarative: </i>I prefer a white car. (3.5) <i>Imperative: </i>Show me the cheapest sedan. (3.6) <i>Yes-no-question: </i>Can you give me some information for Honda? (3.7) <i>Wh-question: </i>What cars can seat more than 5 passengers and have 4 doors? (3.8)</p></section><section number="4" title="Case Sentence Annotation"><p>In our corpus generation system, we implement an annotation scheme for sample sentences in the CSB. Each sample sentence is annotated in two plies. The first ply is the semantic structure representing the domain concept relationships. The syntactic structure is abstracted in the second ply to reflect surface realization.</p><p>QueryObject CAT_Color CAT_NumOfDoor</p><p>CAT_NumOfCylinder CAT_Make CAT_BodyStyle</p><p>CAT_Transmission CAT_DriveWheel</p><p>NUM_MadeYearStartValue NUM_MadeYearEndValue</p><p>NUM_EngineLiterStartValue NUM_EngineLiterEndValue</p><p>NUM_PriceStartValue NUM_PriceEndValue NUM_NumOfPassengerStartValue NUM_NumOfPassengerEndValue</p><p><b><i>Note: </i></b><i>CAT means categorical feature while NUM means numeric feature </i><b>Fig. 2. </b>Conceptual category set</p><p>We utilize a set of conceptual categories to abstract conceptual meanings in our application domain (Figure 2). The benefit of introducing conceptual categories is that each concept in a case sentence can be instantiated with different values to satisfy word coverage. The semantic ply indicates the sentence act and the number type (singular or plural) of the query object. It also catches the relations between those conceptual categories involved in the annotated sentence. For instance, the semantic ply of Example (3.8) can be described in a Query Language [15] as:</p><page local="5" global="997"/><p>|xix.Act='wh-question' a x.QueryObject='car' a x.ObjectType='Plural' a    (4 1) car.NumOfDoor='four' a car.NumOfPassenger.StartValue=5 }</p><p>The syntactic ply analyzes the syntactic structure of the sentence, which is the formalism for surface realization. The structure of the formalism is adapted from the systemic functional grammar [16], which consists of three layers: clause, phrase and token. Figure 3 represents the syntactic structure of the example (3.8).</p><p>&lt;SynStructure type="ComplexClause"&gt; &lt;SynClause localID="c1"&gt; &lt;SynPhrase type="Simple" fc="CannedText" value="What" /&gt; &lt;SynPhrase type="Simple" fc="ObjectThing" ref="Head" value="VALUE" /&gt; &lt;SynPhrase type="Simple" fc="Predicate" value="can seat" /&gt; &lt;SynPhrase type="Complex" fc="NUMFeature" ref="NumOfPassenger"&gt; &lt;SynToken type="Simple" fc="CannedText" value="more than" /&gt; &lt;SynToken type="Simple" fc="Feature" value="StartValue" /&gt; &lt;SynToken type="Simple" fc="Quantifier" value="passengers" /&gt; &lt;/SynPhrase&gt; &lt;SynPhrase type="Simple" fc="PredicateConj" value="and" /&gt; &lt;SynPhrase type="Simple" fc="Predicate" value="have" /&gt; &lt;SynPhrase type="Complex" fc="CATFeature" ref="NumOfDoor" /&gt; &lt;SynToken type="Simple" fc="Feature" value="VALUE" /&gt; &lt;SynToken type="Simple" fc="Quantifier" value="doors" /&gt; &lt;/SynPhrase&gt; &lt;/SynClause&gt; &lt;/SynStructure&gt;</p><p><b>Fig. 3. </b>The syntactic structure of Example (3.8) in XML</p></section><section number="5" title="Corpus Generation"><p>The general principles for creating a corpus are semantic coverage, syntactic coverage, prosodic coverage and word coverage [11]. As the target outcome of our system is a sentence corpus for language modeling, prosodic coverage is not our focus.</p><p><i>• Semantic coverage: </i>the corpus should cover domain concepts and relationships as completely as possible;</p><p><i>• Syntactic Coverage: </i>the corpus should reflect many rich syntactic variations, as found in natural language;</p><p><i>• Word Coverage: </i>the corpus should cover as many words as possible in the vocabulary.</p><p>In this Section, we demonstrate how these three principles have been considered and satisfied during the corpus generation. Although case sentences marked with domain-specific conceptual categories can be used directly for surface natural language generation, as was suggested in [17], it is only capable of handling certain circumstances, such as simple applications (as the NLG1 in [17]) or under the assumption that the corpus is large enough for statistical analysis (as the NLG2 and NLG3 in [17]). In our project, we seek to create a corpus based on a sample sentence set with a limited size. Therefore, a CBR approach with adaptability is more appropriate [11].<page local="6" global="998"/> An input to the sentence generator is a semantic structure represented in an AVM (attribute value matrix) form, including a sentence act, the query object and its features. Figure 4 shows a typical example of inputs.</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">r</doubt><p>Act: declarative</p><doubt alpha="85.7" length="7" tooSmall="False" monospace="0.0">Object:</doubt><p>head: car number: singular</p><p>Feature:</p><p>color: red</p><p>v.</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">J</doubt><p>In order to satisfy the semantic coverage, we explore all possible combinations of features related to the car object. We made a decision to include only those combinations with less than 5 features so that the generated sentence can be kept in a reasonable length. In terms of syntactic coverage, we consider all sentence acts to express a feature combination. In addition, the variations of syntax in describing a numeric feature are explored. The examples (5.1)-(5.4) show four types of phrases with different foci to specify the price of a car. The word coverage is achieved through enumerating all possible values of each feature.</p><doubt alpha="66.7" length="57" tooSmall="False" monospace="0.0">a price no less than[PriceStartValue15,000] dollars (5.1)</doubt><doubt alpha="65.5" length="55" tooSmall="False" monospace="0.0">a price no more than[PriceEndValue30,000] dollars (5.2)</doubt><doubt alpha="64.4" length="73" tooSmall="False" monospace="0.0">a price from[PriceStartValue15,000] to[PriceEndValue30,000] dollars (5.3)</doubt><p>a price around <b>[PriceStartValue=PriceEndValue </b>20,000] dollars (5.4)</p><p>The generation of sentences is performed according to a procedural algorithm. The algorithm consists of four procedures:</p><p><i>• Distance measuring: </i>An input is compared with the semantic representation of an instance in the CSB. Candidates above the threshold are selected for further processing.</p><p><i>• Feature categorizing: </i>Through examining the difference between the feature set of the input and that of the case, features are categorized into four groups: <i>OldFeatures, AdjustFeatures, OtioseFeatures </i>and <i>NewFeatures. </i>Old features are those shared by the input and the case. Adjust features are those numeric features belonging to both but with different focuses. Features in the case but not in the input are called otiose features, and new features are those that appeared in the input but not in the case.</p><doubt alpha="64.3" length="14" tooSmall="False" monospace="0.0">num_of_door: 4</doubt><p>body_style: sedan</p><p><b><i>^ J </i>Fig. 4. </b>An example input showing the semantic meaning of a user's specification: "I would prefer a red sedan with four doors"<page local="7" global="999"/></p><p><b>Sentence Generation Algorithm</b></p><p><i>Input: </i>The semantic structure of a new sentence: I ;</p><p>An instance of cases retrieved from the sentence base: C; <i>Output: </i>a generated sentence if it's successful; otherwise null.</p><doubt alpha="56.1" length="41" tooSmall="False" monospace="0.0">1. If (I.act == C.act) then proceed to 2;</doubt></section><section number="2." title="If ( isCompatible (I.object, C.object)) then proceed to 3;"><doubt alpha="58.3" length="24" tooSmall="False" monospace="0.0">3. Calculate Dis (I, C);</doubt><p>Denote I (F) as the input, where F={F1,F2,..Fn} represents the feature set of the input.</p><p>Denote C (A) as the case, where A={A1,A2,_Am} represents the feature</p><p>set of the case. Denote k as the number of features 6 Fn A. If we define:</p><p>I" a  if fi 6 C</p><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">d (fi, C) =</doubt><p>L ß   if fi £ C</p><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">d (ai, F) =</doubt><p>a  if ai 6 F ß &gt; y &gt; 0, given that insertion is a more difficult operation than deletion; a=0;</p><doubt alpha="50.0" length="12" tooSmall="False" monospace="0.0">y   if ai£ F</doubt><doubt alpha="63.9" length="133" tooSmall="False" monospace="0.0">then Dis (I, C) =£d (fi, C) +£d (ai, F) = 2ak + (n-k)ß+ (m-k)yThe distance function (metric) should satisfy the following conditions:</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">(1) (2) (3) (4)</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">Thus</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">and</doubt><doubt alpha="35.7" length="14" tooSmall="False" monospace="0.0">0&lt;Dis (I,C)&lt;1;</doubt><doubt alpha="53.8" length="26" tooSmall="False" monospace="0.0">if n=m=k then Dis (I,C)=0;</doubt><doubt alpha="46.2" length="26" tooSmall="False" monospace="0.0">if k=0 then Dis (I, C) =1;</doubt><p>1/(m+n) &lt;ß &lt; 1/n; y = (1-nß)/m .</p><doubt alpha="34.3" length="70" tooSmall="False" monospace="0.0">Chooseß= 1/(n+1) then Dis (I, C) = (n-k)*(1/(n+1)) + (m-k)*(1/(n+1))/m</doubt><doubt alpha="50.0" length="40" tooSmall="False" monospace="0.0">4. If (Dis(I,C) &lt;0.5) then proceed to 5;</doubt><p>5. For each feature fi6 {oldFeatureslladjustFeatures}=FnA, perform value substitution or adjustment operation;</p><p>For each feature f<b>j</b>6 {otioseFeatures}=(FuA)-F, perform deletion operation; For each feature fk6 {newFeatures}=(FuA)-A , perform insertion operation.</p><p>6. Surface realize the sentence according to the adaptive syntactic structure.</p><p><b>Fig. 5. </b>Sentence generation algorithm<page local="8" global="1000"/></p><p><i>• Case adapting: </i>For each type of features, different adaptations to the case are performed to generate a syntactic structure corresponding to the semantic structure of the input.</p><p><i>• Surface realizing: </i>A sentence is generated according to the adapted syntactic structure.</p><figure caption="Figure 5 depicts the details of the sentence generation algorithm.6 Evaluation"></figure><p>The evaluation is done at two levels. Firstly, the generated sentences are scored by human evaluators using three ratings: no grammatical error, minor grammatical error and major grammatical error. The ratios generally represent the quality of sentence generation. Secondly, the generated corpus is divided into two sets: a training set and a test set. We use the training set to build an n-gram language model. The language model is applied to a speech recognition engine to test recognition effectiveness. The sentences from the test set are used for this testing. We measure the word error rate to verify the acceptability of the language model.</p><p><b>Table 1. </b>Testing results of language models</p><p><b>I: </b><b>Number of <i>inserted </i>symbols O: Number of <i>omitted </i>symbols</b></p><p><b>S: Number of <i>substituted </i>symbols Nsol : Total Number of symbols for testing</b></p><p>Two hundred sentences are randomly selected from the generated corpus for grammatical evaluation. Of these sentences, 196 sentences are grammatically correct. Three sentences have major grammatical errors and one has minor error. The effectiveness of the system in generating user specifications and queries is supported<page local="9" global="1001"/></p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1000</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Testing Engine</b></p></td><td class="cell"><p><b>Language Model</b></p></td><td class="cell"><p><b>I</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>S</b></p></td><td class="cell"><p><b>N</b><b>sol</b></p></td><td class="cell"><p><b>Percent correct</b></p></td><td class="cell"><p><b>Accuracy</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sphinx 4, No speaker training</p></td><td class="cell"><p>Our Domain</p><p>Specific</p><p>Model</p></td><td class="cell"><p>84</p></td><td class="cell"><p>16</p></td><td class="cell"><p>154</p></td><td class="cell"><p>1024</p></td><td class="cell"><p>83.4%</p></td><td class="cell"><p>75.2%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sphinx 4, No speaker training</p></td><td class="cell"><p>WSJ5K</p><p>Model</p><p>(Vocabulary</p><p>size: 5,000)</p></td><td class="cell"><p>82</p></td><td class="cell"><p>10</p></td><td class="cell"><p>568</p></td><td class="cell"><p>1024</p></td><td class="cell"><p>43.6%</p></td><td class="cell"><p>34.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sphinx 4, No speaker training</p></td><td class="cell"><p>HUB4 Model (Vocabulary size: 64,000)</p></td><td class="cell"><p>56</p></td><td class="cell"><p>28</p></td><td class="cell"><p>704</p></td><td class="cell"><p>1024</p></td><td class="cell"><p>28.5%</p></td><td class="cell"><p>23.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dragon Naturally Speaking Preferred (version 3.52), Speaker training</p></td><td class="cell"><p>Dictation Grammar</p></td><td class="cell"><p>99</p></td><td class="cell"><p>26</p></td><td class="cell"><p>327</p></td><td class="cell"><p>1024</p></td><td class="cell"><p>65.5%</p></td><td class="cell"><p>55.9%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>A Case-Based Reasoning Approach for Speech Corpus Generation 1001</p><p>by the high percentage of correctness. We then follow the methods introduced in [1] to test the performance of the language model derived from the corpus. We utilize the Sphinx 4 Recognition Engine [18] without speaker training to test our language model and two general models. A further test is conducted to compare our model with the dictation grammar used in the Dragon Naturally Speaking Preferred (version 3.52) Engine with speaker training. Table 1 details the test results, which suggest the language model specific to the MCCS can significantly outperform a general language model or a dictation grammar.</p></section><section number="7" title="Related Work"><p>Generating natural language through learning is a relatively new endeavor. Trainable methods for surface NLG are introduced in [17] to learn the mapping between semantic meaning and syntactic structure so that sophisticated grammars can be avoided. The implicative assumption of trainable systems is the existence of a large corpus. In our project, we can only create a sample sentence set of a limited size, which is not appropriate for training. Our CBR approach differs from trainable methods in that instances in the case base are used for adaptation to generate new sentences directly, instead of for calculating statistical distribution. [10, 12] introduce an approach for instance-based natural language generation. However, instead of adapting instances to generate sentences, instances are just used to compare with sentences generated by a rule-based system for choosing the final output. No adaptation is performed during the generation procedure. [11] presents a surface natural language generator in the real estate domain that employs a case-based paradigm. Its adaptation-guided retrieval makes it ultimately similar to our system. However, our approach differs from it in two respects. Firstly, we employ a quantitative distance measurement for acceptance function. Compared with the qualitative cost-analysis method used in [11], our method provides a numeric value for similarity comparison, which we believe is more straightforward. Secondly, the syntactic structure of cases in our system is represented in systemic functional formalism while graphical tree structure is utilized in [11] to represent the syntactic, lexical, prosodic and acoustic realizations. Our method is simpler and less prone to grammatical error in generating structured sentences.</p></section><section number="8" title="Conclusions"><p>This paper presents a CBR system to generate a speech corpus for the MCCS application. In comparison to traditional NLG approaches, this system overcomes the inflexibility of template-based methods while avoiding the linguistic sophistication of rule-based packages. Our research indicates that CBR learning techniques can perform effectively in generating structured sentences. This approach is particularly useful if the size of the sample sentence set is relatively small. The study results also suggest that a language model pertaining to a specific application is a necessity as general models or dictation grammar cannot satisfy the requirements for recognition accuracy.</p><page local="10" global="1002"/><p>This study is part of research to incorporate natural language understanding capacity into a framework to develop speech-enabled mobile commerce applications. We only explore natural language models for understanding user specifications or queries at the beginning of a conversation in the context of mobile commerce. After that, users would be guided by a system-directed dialogue to continue their search for desired products. When a user shows interest in a particular product and selects to listen to the detailed description of the product, the system will play a pre-recorded audio file. We believe speech for product description can be generated through CBR-based NLG system in a similar manner. A NLG method can provide much more flexibility in generating product descriptions in comparison to pre-recorded audio files. In future work, the CBR approach introduced in this paper should be able to be extended for product description generation.</p></section><section title="Acknowledgements"><p>The authors would like to thank Benny Nasution and Adrian Ryan for examining the sample sentences, grammatically evaluating the generated sentences and testing the performance of different language models.</p></section><references><p>1. Becchetti, C. and Ricotti, L.P. (1999): Speech Recognition: Theory and C++ Implementation, John Wiley &amp; Sons.</p><p>2. Somers, H. (2000): Empirical Approaches to Natural Language Processing, in Handbook of Natural Language Processing (Eds., Dale, R. et al.), pp.377-384. New York, Marcel Dekker.</p><p>3. Jurafsky, D. et al. (1994): The Berkeley Restaurant Project. In Proceedings of ICSLP-94, Yokohama, Japan, pp.2139-2142.</p><p>4. Lesher, G.W. et al. (1999): Effects of ngram order and training text size on word prediction, In Proc. of the RESNA'99 Annual Conference, Arlington, VA. pp.52-54.</p><p>5. Rudnicky, A.I. et al. (2000): Task and Domain Specific Modeling in the Carnegie Mellon Communicator System, in ICSLP2000, Beijing, China.</p><p>6. Lesher, G.W. and Sanelli, C. (2000): A Web-Based System for Autonomous Text Corpus Generation, In Proceedings of ISSAAC 2000, Washington DC, U.S.A.</p><p>7. Thompson, H.S. (2000): Corpus Creation for Data-Intensive Linguistics. In Handbook of Natural Language Processing (Eds, Dale R. et al.), pp.385-401. New York, Marcel Dekker.</p><p>8. Reiter, E. (1995): NLG vs. Templates, In Proceedings of the 5th European Workshop on Natural Language Generation, Leiden, the Netherlands.</p><p>9. Oh, A.H. and Rudnicky, A. (2000): Stochastic Language Generation for Spoken Dialogue Systems, In Proceedings of the ANLP/NAACL Workshop on Conversational Systems,</p><p>May 2000, pp.27-32.</p><p>10. Varges, S. and Mellish, C. (2001): Instance-based Natural Language Generation, In Proceedings of the 2nd Meeting of the North America Chapter of the Association for Computational Linguistics (NAACL-2001), Pittsburgh, PA, June 2001.</p><p>11. Pan, S. and Weng, W. (2002): Designing a speech corpus for instance-based spoken language generation. In Proceedings of INLG2002, New York, U.S.A.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1002</doubt><page local="11" global="1003"/><p>12. Varges, S. (2003): Instance-based Natural Language Generation, PhD thesis, Institute for Communicating and Collaborative Systems, School of Informatics, University of Edinburgh.</p><p>13. Jurafsky, D. and Martin, J.H. (2000): Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition,</p><p>Prentice Hall.pp.332-334.</p><p>14. Sun, J. et al. (2000): A Robust Speech Understanding System Using Conceptual Relational Grammar, In Proceedings of ICSLP'2000, Oct 2000, Beijing, China.</p><p>15. Minock, M.J. (2003): A Phrasal Generator for Describing Relational Database Queries, In Proceedings of the 9th European Association of Computational Linguistics workshop on Natural Language Generation, Apr 2003, Budapest, Hungary.</p><p>16. Halliday, M.A.K. and Matthiessen, M.I.M. (2004) An Introduction to Functional Grammar, 3rd Edition, ARNOLD.</p><p>17. Ratnaparkhi, A. (2000): Trainable Methods for Surface Natural Language Generation, In proceedings of the ANLP/NAACL'00, Seattle, WA. pp.194-201.</p><p>18. The CMU Sphinx Group Open Source Speech Recognition Engines. Retrieved Dec 12, 2004. From http://cmusphinx.sourceforge.net/html/cmusphinx.php</p></references></body></article>