<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:ns2="http://www.tei-c.org/ns/Examples">
    <teiHeader>
        <fileDesc>
            <titleStmt>
                <title>Corpus-oriented Acquisition of Chinese Grammar</title>
            </titleStmt>
        </fileDesc>
    </teiHeader>
    <text>
        <front>
            <div type="abs">
                <head>Abstract</head>
                <p>The acquisition of grammar from a corpus is a challenging task in the preparation of a knowledge bank. In this paper, we discuss the extraction of Chinese grammar oriented to a restricted corpus. First, probabilistic context-free grammars (PCFG) are extracted automatically from the Penn Chinese Treebank and are regarded as the baseline rules. Then a corpusoriented grammar is developed by adding specific information including head information from the restricted corpus. Then, we describe the peculiarities and ambiguities, particularly between the phrases “PP” and “VP” in the extracted grammar. Finally, the parsing results of the utterances are used to evaluate the extracted grammar.</p>
            </div>
        </front>
        <body>
            <div>
                <p/>
            </div>
            <div1>
                <head xml:id="sec1">Introduction</head>
                <p>Research and development work on spoken language systems for special domains has been gaining more attention in recent years. Many approaches to spoken language processing require a grammar system for parsing the input utterances in order to obtain the structures, especially for rule-based approaches. Manually developing grammars based on linguistics theories is a very difficult task. Language phenomena are usually described as being symbolic systems such as lexical, syntactic, semantic and common sense. Grammar development has to depend on linguistic knowledge and the characteristics of the corpus to explicate a system of linguistic entities. However, it is expensive and time-consuming to maintain a robust grammar system by manual writing. Recently some researchers (H. Meng et al., 2002; S. Dipper, 2004 and Y. Ding, 2004) have presented a methodology to semi-automatically capture different grammar inductions from annotated corpora within restricted domains. A corpus-oriented approach (Y. Miyao, 2004) provides a way to extract grammars automatically from an annotated corpus. The specific language knowledge and knowledge relations need to be constructed and oriented to different corpora and tasks (K. Chen, 2004). The Chinese treebank is a useful resource for acquiring grammar rules and the context relations. Currently there are several Chinese treebanks on a scale of size. In the Penn Chinese Treebank (F. Xia, 2000), each structural tree is annotated with words, parts-of-speech and syntactic structure brackets. In the Sinica Treebank (CKIP), thematic roles are also labeled in the CKIP to provide deeper information. In this paper, we discuss the extraction of Chinese grammar oriented to a restricted corpus. First, probabilistic context-free grammars (PCFG) are extracted automatically from the Penn Chinese Treebank and are regarded as the baseline rules. Then a corpus-oriented grammar is developed by adding specific information including head information from the restricted corpus. We then describe the peculiarities and ambiguities, especially between the phrases “PP” and “VP” in the extracted grammar. Finally, the parsing results of the utterances are used to evaluate the extracted grammar. The outline of this paper is as follows: Section 2 gives the process of acquiring the baseline Chinese grammar and the extension of the current grammar oriented to the corpus. Section 3 explains the grammar properties in our corpus and our approach to disambiguating some special phrase rules, such as “PP” and “VP” and the word “ ೼ (ZAI)” in different categories. Section 4 describes the evaluation results of the extracted Chinese grammar.Finally section 5 offers some concluding remarks and outlines our future work.</p>
            </div1>
            <div1>
                <head xml:id="sec2">Grammar Acquisition</head>
                <p>There are two parts to acquiring grammar in our system. The baseline grammar is extracted automatically from the Penn Chinese Treebank. We define a suitable parts-of-speech and phrase categories and extend them by introducing specific information from our corpus.</p>
                <div2>
                    <head xml:id="sec2.1">Grammar Extraction from Penn Chinese Treebank</head>
                    <p>The University of Pennsylvania (Upenn) has released a scale of Chinese treebanks as a kind of resource since 2000 (Xia Fei et al., 2000). Each structural tree includes parts-of-speechand syntactic structure brackets, which provides a good way to extract Chinese probabilistic context-free grammars (PCFG). There are a total of 325 files collected from the Xinhua newswire in this treebank. The majority of these documents focus on economic development and are organized in written formats as opposed to spoken utterances, so the grammars extracted from it are seen as the baseline bank. The probabilistic context-free grammars have proven to be very effective for parsing natural language. The produced rules are learnt by matching the bracketed structures automatically from the trees, and the rule probabilities are calculated based on the maximum likelihood estimation (MLE), presented in the following formula (Charniak, 1996): P N i o ] j ) C ( N i o ] j ( ) [BAR] ¦ C ( N i o ] k ) (1) k The baseline grammar includes about 400 PCFG rules after cleaning and merging some rules with low probabilities (Imamula et al., 2003).</p>
                </div2>
                <div2>
                    <head xml:id="sec2.2">Extension of the Extracted Grammar</head>
                    <p>Different corpora produce different grammars that have some specific information. In baseline grammars,many grammars are not suitable for spoken corpora. Therefore, we need to build an appropriate grammar by using specific information in our corpus to improve the parsing results and machine translation systems that operates in a restricted field. The data we used in this system is from the ATR Basic Travel Expression Corpus (BTEC) in which the format of utterances is different from the sentences in Upenn. Consequently, an appropriate phrase category is required to be constructed by analyzing the knowledge characteristics in BTEC. We define it by comparing three Chinese structure category systems: Sinica, Universityof Pennsylvania, and HIT (Harbin Institute of Technology).A phrase category should be not too complicated as but cover language phenomenon in the corpus. Our phrase category is defined and explained in table 1. In BTEC, Chinese utterances are segmented and labeled as parts-of-speech. We not only construct corpus-oriented grammar rules differently from the baseline grammars but also add head information for each rule. In the above Table 1, the phrase category “VBAP” is a phrase name including the preposition “ ᡞ (BA)” and its followingnoun or verb phrase. The phrase “DENP” is a special nominal phrase which has no word after the auxiliary word “ ⱘ (DE)”, and it is usually put at the end of the utterance. Following are some examples of our grammars. 1. PP Æ p(sem&quot; ੠ &quot;) (head)n 2. DENP Æ (head)a y(sem&quot; ⱘ &quot;) 3. PP Æ p(sem&quot; ⫼ &quot;) (head)r 4. DEP Æ (head)DP de In above rules, the mark “sem” means its following word is a terminal node.</p>
                </div2>
            </div1>
            <div1>
                <head xml:id="sec3">Grammar Annotation and Disambiguation</head>
                <p>Above constructed Chinese grammars sometimes bring out conflicts when parsing utterances because of the ambiguity phenomenon. Grammar annotation is done to make the grammatical relations of an utterance more explicit. Thus, some ideas are proposed to deal with these ambiguities that are tightly related to Chinese language.</p>
                <div2>
                    <head xml:id="sec3.1">Annotation and Analysis of Grammar</head>
                    <p>Plenty of prepositions are rooted in verbs in Chinese language, and most of them still keep the function of verbs. This phenomenon produces ambiguous problems not only between categories preposition “p” and verb “v” but between the phrases “VP” and “PP” in the structures of the utterances. PP-attachment ambiguity is a big problem related to the construction of grammar (S. Zhao. 2004). Firstly, we extract a lexicon of Chinese prepositions, which have other categories at the same time, such as the category ‘v’, adjective ‘a’, and so on. The following table shows the collocations of these words and their frequencies. Table 2 Some Examples in the Preposition Lexicon We construct some particular grammar rules for these preposition words showed in Table 2 in order to deal with the conflicts among these words. For example, following rules are related to the word “ 㒭 ”. PP Æ p(sem&quot; 㒭 &quot;) (head)n VP Æ p(sem&quot; 㒭 &quot;) (head)V VP Æ v(sem&quot; 㒭 &quot;) NNP (head)VP In order to represent the function of the extracted grammar, we compare the coverage of the grammar in different layers between a terminal node and a phrase layer. The different structural trees of the same utterance in Figure 1 are listed as follows. 1.Sentence ( 䖭䞠 /r ⱘ /de 䵟 /n ા /r ঠ /q ᰃ /v1 ⡍Ӌ /n ଚક /n ˛ /w ) ⡍Ӌ /n ଚક /n ˛ /w ) __ Figure 1 Annotation of Different trees in the same sentence The same utterance obtains different structural trees from different levels of grammar rules by parsing results, although these two trees are cor-</p>
                    <p>|__ NNP__NNP(head)__DEP__r(head) 䖭䞠</p>
                    <p>|</p>
                    <p>|</p>
                    <p>|</p>
                    <p>|</p>
                    <p>|</p>
                    <p>|</p>
                    <p>|</p>
                    <p>|</p>
                    <p>|</p>
                    <p>|</p>
                    <p>| __ 2. Sentence ( 䖭䞠 /r ⱘ /de 䵟 /n ા /r ঠ /q ᰃ /v1 | | | | de ⱘ ___ | _________NNP n(head) 䵟 __ | | QP r(sem&quot; ા &quot;) __</p>
                    <p>| ____q(head) ঠ ___ v1(sem&quot; ᰃ &quot;) __ __ NNP(head) NNP _____n(head) ⡍Ӌ __</p>
                    <p>| _________NNP(head)__n(head) ଚક w ˛ |__NNP__NNP(head)*__ r 䖭䞠 | | | de ⱘ ___ | | | n(head) 䵟 ____ | | | | QP r(sem&quot; ા &quot;) ___ __ | | q(head) ঠ __ | | __ | | NNP(head)** n ⡍Ӌ __ __ | | n(head) ଚક __________ | w ˛ v1(sem&quot; ᰃ &quot;) rect and acceptable. The grammar plays an important role in the machine translation system when we build the mapping relations with the goal languages by transform rules. This problem is also called Granularity (K. Chen, 2004). Symbol ‘**’ in Figure 1 denotes that the phrase “NNP” is produced by the rule “NNP Æ n (head)n” rather than “NNP Æ NNP (head)NNP”.</p>
                </div2>
                <div2>
                    <head xml:id="sec3.2">Grammar Disambiguation</head>
                    <p>A grammar inevitably includes ambiguities among its rules. To some extent, certain kinds of ambiguities are produced by the same ambiguous problems found among part-of-speech tags. As with the expression in Section 2, the ambiguity between the phrases “PP” and “VP” is partly produced by the multiple categories ‘p’ and ‘v’ of the words. This is a common case where the phrases “PP” and “VP” are nested against each other. For example, the rule “PP Æ p (head)v” and “VP Æ PP (head)VP”. This situation is described in the following two utterances in Figure 2. 1. Sentence ( ߎ⾳䔺 /n া /d ೼ /p 㾘ᅮ /v ⱘ /de 䏃㒓 /n 䍄 /v Ǆ ) |__NNP__ n ߎ⾳䔺 | |__VP__d া | |___VP__PP*__p ೼</p>
                    <p>| |____NNP__v 㾘ᅮ</p>
                    <p>|____de ⱘ</p>
                    <p>|_____n 䏃㒓 | | | | | | | | |</p>
                    <p>|___VP__v 䍄 w Ǆ ___ 2. sentence ( 䇋 /vw 㒭 /p ៥ /r 䗕 /v ᵃ /q ੪ଵ /n Ǆ ) |__VP__vw 䇋 | | | |___VP**__PP__p 㒭 | | | | | | | |__w Ǆ | | |___r ៥ | |___VP__VP__v 䗕</p>
                    <p>|</p>
                    <p>|___NNP__q ᵃ</p>
                    <p>|____n ੪ଵ</p>
                    <p>Figure 2 The Correct Trees of Utterances Including phrases “PP” and “VP” In sentence 1 of figure 2, the phrase “PP” ( ೼ /p 㾘ᅮ /v ⱘ /de 䏃㒓 /n) contains the verb “ 㾘ᅮ ”, and is produced by the rule “DEP Æ v de” and “NNP Æ DEP n” firstly. Likewise, in sentence 2, the phrase “VP( 䗕ᵃ੪ଵ )” is produced firstly rather than phrase “ 㒭៥䗕 ” is got by rule “VP Æ PP v”. That is to say, the phrase “VP” has higher priority to be produced than “PP”. The Chinese word “ ೼ ” is a special individual word in our corpus. Its correlative disambiguation rules are constructed by the knowledge relations listed in the following table: of “ ” The following steps are used to identify the ambiguities between the phrases “PP” and “VP”: 1. The first step is to look up the preposition lexicon based on the category of the word and find the relative rules from the extracted gram- mar. 2. When the “PP” rules conflict with the “VP” rules, we firstly consider the verb and then select an appropriate rule by comparing the relationship to neighboring preposition words. 3. Long distance rules have priority. For instance, rule “PP Æ p v nd” is preferred to rule “PP Æ p v”. 4. It is clear that the fine-grained rules have less representational ambiguity than the coarsegrained grammar rules in relation to the tree presentations. 5. The head information in the rules is viewed as being types of reference knowledge because of their own ambiguities.</p>
                </div2>
            </div1>
            <div1>
                <head xml:id="sec4">Evaluation for Grammar</head>
                <p>We use the extracted grammar described in section 3 to parse Chinese utterances in BTEC and to evaluate the roles of the grammar.</p>
                <div2>
                    <head xml:id="sec4.1">Parsing with Grammar</head>
                    <p>The parser adopts a bottom-up parsing algorithm in order to obtain the phrase structures of utterances. There are 200 Chinese utterances selected in our experiment. The number of rules totals 682 that are constructed manually except baseline rules from Upenn Chinese treebank. Table 4 lists the number of PCFG rules which have different left-side phrases. side phrases In our current experiment, the evaluation is limited to obtaining several special phrase structures including “NNP”, “VP”, “PP”, and “DENP” by using the extracted grammar. Therefore, the parsing results are calculated using the precision of these phrases in the following formula (2) and are listed in Table 5. We give the evaluation results of the word “ ೼ ” separately in Table 6. (2) N t where N denotes the number of correct c phrases in the parsing results, and N is t the total results</p>
                    <p>results of “ ” From the evaluation results, we found that the precisions of the phrases “NNP” and “VP” were not high due to the diversity and complexity. We only processed the ambiguity between “VP” and “PP” and improve the precision of phrase “PP”. From the condition of theword “ ೼ ”, it is very useful for the grammar extraction to construct information on high-frequency words and wordto-word collocation relations.</p>
                </div2>
                <div2>
                    <head xml:id="sec4.2">Discussion</head>
                    <p>The Chinese language is one of the most difficult languages to process. There is still no uniform standard for acquiring Chinese grammar that covers all domains. Hence, a grammar should be constructed from the view of point of real research requirements in real corpora. It is the most important to maintain consistency and satisfy the actual requirements of a real corpus. One of the main purposes in constructing a Chinese grammar is to improve its validity and robustness to machine translation in a restricted corpus. The development of a robust grammar based on linguistics is difficult because of the complexity of deep linguistic analysis. For example, how many annotated grammars are suitable for the parsing systemand a real machine translation?What is the balance between the granularity of grammar structures and grammar coverage including the ambiguities? In general, the coarse-grained grammar rules have a higher coverage rate compared with fine-grained rules, which contain more terminal nodes. There is also the major problem of determining which Treebank size is required to acquire the grammar rules.</p>
                </div2>
            </div1>
            <div1>
                <head xml:id="sec5">Conclusion and Future Work</head>
                <p>Corpus-oriented grammar extraction is conducted for the purpose of constructing more explicit grammar knowledge and improving the machine translation system in a restricted corpus. Treebanks provide a useful resource for acquiring grammar rules. However, it is time consuming to construct a much larger size Treebank, which is better for grammar extraction. It would be better if the knowledge extraction process could be carried out iteratively. The parser could use the initial grammar to produce a large amount of structural trees. These new trees would provide more information on the grammar to improve the robustness of the grammar and the power of the parsing system. This whole process can be regarded as an automatic knowledge learning system. The principal idea in this paper was to acquire Chinese grammar from a restricted corpus for a machine translation system. The extracted grammar was not only from the Penn Chinese treebank but also from new information added to our experimental corpus. The corpus-oriented Chinese grammar was evaluated by parsing the phrase structures that includes “NNP”, “VP”, “PP”, “DENP”, and the phrases relative to the word “ ೼ ”. Currently, we only focus on a few limited phrases, and the disambiguation process has been explored with specific rules manually. Therefore, to improve grammar extraction in the future, we will aim at increasing the robustness and coverage of the rules and try to automatically reduce the ambiguity rate by constructing more knowledge relations. The word-to-word collocation relations provided useful information on grammar extraction for the detailed processing. Acknowledgment This research was supported by a contract with the National Institute of Information and Communication Technology (NICT) of Japan. References Helen M. Meng and Kai-Chung Siu. 2002. Semi-</p>
                <p>Automatic Acquisition of Domain-Specific Se-</p>
                <p>mantic Structures, IEEE Transactions on Knowl-</p>
                <p>edge and Data Engineering, vol 14, n 1,</p>
                <p>January/February, pp. 172-180 Stefanie Dipper. Grammar Modularity and its Impact</p>
                <p>on Grammar Documentation. In Proceedings of</p>
                <p>the 20th International Conference on Computa-</p>
                <p>tional Linguistics (COLING), pp. 1-7, Geneva,</p>
                <p>Switzerland, 2004 Claire Gardent, Marilisa Amoia and Evelyne Jacquey.</p>
                <p>Paraphrastic Grammars. ACL Workshop on text</p>
                <p>meaning, Barcelona, July 2004 Yuan Ding and Martha Palmer. Automatic Learning</p>
                <p>of Parallel Dependency Treelet Pairs. In Proceed-</p>
                <p>ings of the First International Joint Conference on</p>
                <p>Natural Language Processing (IJCNLP2004).</p>
                <p>March, Sanya, pp. 30-37, 2004 Shaojun Zhao and Dekang Lin. A nearest-neighbor</p>
                <p>method for resolving pp-attachment ambiguity. In</p>
                <p>Proceedings of the First International Joint Con-</p>
                <p>ference on Natural Language Processing</p>
                <p>(IJCNLP2004). March, Sanya, pp. 428-434, 2004 Kenji Imamura, Eiichiro Sumita and Yuji Matsumoto.</p>
                <p>2003. Feedback Cleaning of Machine Translation</p>
                <p>Rules Using Automatic Evaluation. In Proceed-</p>
                <p>ings of the 41 st Annual Meeting of the Association</p>
                <p>for Computational Linguistics (ACL 2003), pp.</p>
                <p>447-454. Keh-Jian Chen and Yu-Ming Hsieh. Chinese Tree-</p>
                <p>bank and Grammar Extraction. In Proceedings of</p>
                <p>the First International Joint Conference on Natural</p>
                <p>Language Processing (IJCNLP2004). March,</p>
                <p>Sanya, pp. 560-565, 2004 CKIP (Chinese Knowledge Information Processing).</p>
                <p>1993. The Categorical Analysis of Chinese. [In</p>
                <p>Chinese]. CKIP Technical Report 93-05.</p>
                <p>Nankang: Academic Sinica. Fei Xia, Martha Palmer, Nianwen Xue, Mary Ellen</p>
                <p>Okurowski, John Kovarik, Fudong Chiou, Shizhe</p>
                <p>Huang, Tony Kroch, and Mitch Marcus. 2000.</p>
                <p>Developing Guidelines and Ensuring Consistency</p>
                <p>for Chinese Text Annotation. Proceeding of the</p>
                <p>second International Conference on Language Resources and Evaluation (LREC-2000), Athens, Greece. Rashmi Prasad, Elini Miltsahaki, Aravind Joshi and</p>
                <p>Bonnie Webber. Annotation and Data Mining of</p>
                <p>the Penn Discourse Treebank. In Proceedings of</p>
                <p>the ACL 2004 Workshop on Discourse Annotation,</p>
                <p>Barcelona. 2004. Yusuke Miyao, Takashi Ninomiya and Jun’ichi Tsu-</p>
                <p>jii. Corpus-oriented Grammar Development for</p>
                <p>Acquiring a Head-driven Phrase Structure Gram-</p>
                <p>mar from the Penn Treebank. In Proceedings of</p>
                <p>the First International Joint Conference on Natural</p>
                <p>Language Processing (IJCNLP2004). March,</p>
                <p>Sanya, pp. 390-397, 2004 E. Charniak. 1996. Treebank Grammars. Technical</p>
                <p>Report CS-96-02, Department of Computer Sci-</p>
                <p>ence, Brown University.</p>
            </div1>
        </body>
        <back/>
    </text>
</TEI>
