<?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" global="147"/><title>A Study of Chinese Lexical Analysis Based on Discriminative Models</title><pubinfo>Sixth SIGHAN Workshop on Chinese Language Processing</pubinfo><author surname="Sun" givenname="Guang-Lu"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author><author surname="Sun" givenname="Cheng-Jie"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author><author surname="Sun" givenname="Ke"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author><author surname="Wang" givenname="Xiao-Long"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author></firstpageheader><frontmatter><p><b>A Study of Chinese Lexical Analysis Based on Discriminative Models</b></p><p><b>Guang-Lu Sun   Cheng-Jie Sun   Ke Sun and Xiao-Long Wang</b></p><p>Intelligent Technology &amp; Natural Language Processing Laboratory, School of Computer Science and Technology, Harbin Institute of Technology, 150001, Harbin, China</p><p>{glsun,   cjsun,   ksun, wangxl}@insun.hit.edu.cn</p></frontmatter><abstract>This paper briefly describes our system in The Fourth SIGHAN Bakeoff. Discriminative models including maximum entropy model and conditional random fields are utilized in Chinese word segmentation and named entity recognition with different tag sets and features. Transformation-based learning model is used in part-of-speech tagging. Evaluation shows that our system achieves the F-scores: 92.64% and 92.73% in NCC Word Segmentation close and open tests, 89.11% in MSRA name entity recognition open test, 91.13% and 91.97% in PKU part-of-speech tagging close and open tests. All the results get medium performances on the bakeoff tracks. </abstract></header><body><section number="1" title="Introduction"><p>Lexical analysis is the basic step in natural language processing. It is prerequisite to many further applications, such as question answer system, information retrieval and machine translation. Chinese lexical analysis chiefly consists of word segmentation (WS), name entity recognition (NER) and part-of-speech (POS) tagging. Because Chinese does not have explicit word delimiters to mark word boundaries like English, WS is essential process for Chinese. POS tagging and NER are just like those of English.</p><p>Our system participated in The Fourth SIGHAN Bakeoff which held in 2007. Different approaches are applied to solve all the three tasks which are integrated into a unified system (ITNLP-IsLex). For WS task, conditional random fields (CRF) are used. For NER, maximum entropy model (MEM) is applied.  And transformation-based learning (TBL) algorithm is utilized to solve POS tagging problem. The reasons using different models are listed in the rest sections of this paper. We give a brief introduction to our system sequentially. Section 2 describes WS. Section 3 and section 4 introduce NER and POS tagging respectively. We give some experimental results in section 5. Finally we draw some conclusions.</p></section><section number="2" title="Chinese word segmentation"><p>For WS task, NCC corpus is chosen both in close test and open test.</p><subsection number="2.1" title="Conditional random fields"><p>Conditional random fields are undirected graphical models defined by Lafferty (2001). There are two advantages of CRF. One is their great flexibility to incorporate various types of arbitrary, non-independent features of the input, the other is their ability to overcome the label bias problem.</p><p>Given the observation sequence <i>x, </i>on the basis of CRF, the conditional probability of the state sequence Y is:</p><doubt alpha="20.0" length="5" tooSmall="False" monospace="0.0">; r 1</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><doubt alpha="51.7" length="29" tooSmall="False" monospace="0.0">p(y/x)= —exp\Xhfk(y,1,yi,x,i)</doubt><doubt alpha="46.9" length="32" tooSmall="False" monospace="0.0">Z(X) =Xexp \Xif(y,1,yi,x,i) f(2)</doubt><p>Z(x) is the normalization factor. <i>fk (</i><i>yj_],</i>y,<i>X,i)</i><i> </i>is the universal definition of features in CRF.</p></subsection><subsection number="2.2" title="Word segmentation based on CRF"><p>Inspired by Zhao (2006), the Chinese WS task is considered as a sequential labeling problem, i.e., assigning a label to each character in a sentence given its contexts. CRF model is adopted to do labeling.</p><doubt alpha="66.0" length="103" tooSmall="False" monospace="0.0">6 tags are utilized in this work: B, B1, B2, I, E, S. The meaning of each tag is listed in Table 1. The</doubt><page local="2" global="148"/><p>raw training file format from NCC can be easily to convert to this 6 tags format.</p><p>An example: l^/S T/B ^/B1 #/B2 ffi/I § A/I K/I fe/I g<b>n</b>/E $|/B ft/E ±/B ^/E o /S.</p><p>_<u>Table 1 Tags of character-based labeling</u></p><p>Tag Meaning</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">B</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">Bi</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">B2</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">E</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">S</doubt><p>The 1st character of a multi-character word</p><p>The 2nd character of a multi-character word</p><p>The 3rd character of a multi-character word</p><p>Other than B, B1, B2 and last character in a multi-character word The last character of a multi-character word</p><p>Single character word</p><p>The contexts window size for each character is 5: C-2, C_i, C0, Ci, and C2. There are 10 feature templates used to generate features for CRF model including uni-gram, bi-gram and tri-g ram: C-2, C-i, C0, C1, C2, C-1C0, C0C1, C-2C-1C0, C-1C0C1, andC0C1C2.</p><p>For the parameters in CRF model, we only do work to choose cut-off value for features. Our experiments show that the best performance can be achieved when cut-off value is set to 2.</p><p>Maximum likelihood estimation and L-BFGS algorithm is used to estimate the weight of parameters in the training module. Baum-Welch algorithm is used to search the best sequence of test data.</p><p>For close test, we only used CRF to do segmentation, no more post-processing, such as time and date finding, was done. So the performance could be further improved.</p><p>For open test, we just use our NER system to tag the output of our close segmentation result, no more other resources were involved.</p></subsection></section><section number="3" title="Chinese name entity recognition"><p>For NER task, MSRA is chosen in open test. Chinese name dictionary, foreign name dictionary, Chinese place dictionary and organization dictionary are used in the model.</p><subsection number="3.1" title="Maximum entropy model"><p>Maximum entropy model is an exponential model that offers the flexibility of integrating multiple sources of knowledge into a model (Berger, 1996). It focuses on the modeling of tagging sequence, replacing the modeling of observation sequence.</p><p>Given the observations sequence <i>x, </i>on the basis of MEM, the conditional probability of the state sequence Y is:</p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">f \</doubt><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">p(Y\X)</doubt><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">Z(X)</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">exp</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">Y</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">ZW(Y,X)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">v</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">Vj</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(3)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(4)</doubt><table caption="Table 2 Feature templates of NERFeature"></table><p>Description <u>template</u>___</p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">CiTi</doubt><p>CiCi-i Pi</p><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">P-iPi</doubt><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">T-iCo</doubt><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">W(Ci)</doubt><p>W(Ci-i)W(Ci) IsInOrgDict(Co) IsInPlaceDict(Co)</p><doubt alpha="52.1" length="48" tooSmall="False" monospace="0.0">The word tokens in the window i =-2, -1, 0, 1, 2</doubt><doubt alpha="55.6" length="18" tooSmall="False" monospace="0.0">The NE tags i = -1</doubt><p>The bigram of Ci i = -1, 1 The POS tags of word tokens</p><doubt alpha="60.0" length="40" tooSmall="False" monospace="0.0">i = -1, 0, 1 The combination of POS tags</doubt><p>name Ci is part of Chinese</p><p>first name Ci is Chinese whole name Ci is foreign name Ci is Chinese first name other</p><doubt alpha="65.5" length="58" tooSmall="False" monospace="0.0">The bigram of W(Ci) i = -1, 1 The current word token is in</doubt><p>organization dictionary The current word token is in _<u>place dictionary</u>_</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">C</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">W F S O</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">I</doubt><p>The previous tag and the current word token </p><p>Ci is Chinese family<page local="3" global="149"/></p><p>Being Similar to the definition of CRF, Z(x) is the normalization factor. <i>fj</i><i> (Y, X</i>) is the universal definition of features.</p></subsection><subsection number="3.2" title="Name entity recognition based on MEM"><p>Firstly, we use a segmentation tool to split both training and test corpus into word-token-based texts. Characters that are not in the dictionary are scattered in the texts. NE tags using in the model follow the tags in training corpus. Other word tokens that do not belong to NE are tagged as O. Based on the segmented text, the context window is also set as 5. Inspired by Zhang's (2006) work, there are 10 types of feature templates for generating features for NER model in Table 2.</p><p>When training our ME Model, the best performance can be achieved when cut-off value is set to 1.</p><p>Maximum likelihood estimation and GIS algorithm is used to estimate the weight of parameters in the model. The iteration time is 500.</p></subsection></section><section number="4" title="Chinese part-of-speech tagging"><p>For POS tagging task, NCC corpus and PKU corpus are chosen both in the close test and open test.</p><subsection number="4.1" title="Transformation-based learning"><p>The formalism of Transformation-based learning is first introduced in 1992. It starts with the correctly tagged training corpus. A baseline heuristic for initial tag and a set of rule templates that specify the transformation rules match the context of a word. By transformating the error initial tags to the correct ones, a set of candidate rules are built to be the conditional pattern based on which the transformation is applied. Then, the candidate rule which has the best transformation effect is selected and stored as the first transformation rules in the TBL model. The training process is repeated until no more candidate rule has the positive effect. The selected rules are stored in the learned rule sequence in turn for the purpose of template correction learning.</p></subsection><subsection number="4.2" title="Part-of-speech tagging based on TBL"><p>POS tagging is a standard sequential labeling problem. CRF has some advantages to solve it. Because both corpora have relative many POS tags, our computational ability can not afford the CRF model in condition of these tags. TBL model is utilized to replace with CRF.</p><p>We compute the max probability of current word's POS tag in training corpus. The POS tag which has max occurrence probability for each word is used to tag its word token. By this method, we got the initial POS tag for each word.</p><p>The rule templates which are formed from conjunctions of words match to particular combinations in the histories of the current position. 40 types of rule templates are built using the patterns. The cut-off value of the transformation rules is set to 3 (Sun, 2007).</p><p>For open test, our NER system is used to tag the output of our POS tagging result. Parts of NE tags are corrected.</p></subsection></section><section number="5" title="Evaluation"><p>Following the measurement approach adopted in SIGHAN, we measure the performance of the three tasks in terms of the precision (P), recall (R), and F-score (F).</p><subsection number="5.1" title="Word segmentation results"><table caption="Table 3 Word segmentation results on NCC corpus"></table><p>The WS results are listed on the Table 3. Some errors could be caused by the annotation differences between the training data and test data. For example, "fSnJS^" (A Zhen) was considered as a whole word in training data, while "fSnJjj" (A Lan) was annotated as two separate word "PrJ" (A) and "j^" (Lan) in the test data. Some post-processing rules for English words, money unit and morphology can improve the performance further, Following are such errors in our results: "vid eo",<page local="4" global="150"/></p><table class="main" frame="box" rules="all" border="0" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NCC</p></td><td class="cell"><p>close test</p></td><td class="cell"><p>open test</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>R</p></td><td class="cell"><p>.9268</p></td><td class="cell"><p>.9268</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Cr</p></td><td class="cell"><p>.00133447</p></td><td class="cell"><p>.00133458</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>P</p></td><td class="cell"><p>.926</p></td><td class="cell"><p>.928</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Cp</p></td><td class="cell"><p>.00134119</p></td><td class="cell"><p>.00132534</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>F</p></td><td class="cell"><p>.9264</p></td><td class="cell"><p>.9273</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Roov</p></td><td class="cell"><p>.6094</p></td><td class="cell"><p>.6265</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>P</p><p>A oov</p></td><td class="cell"><p>.4948</p></td><td class="cell"><p>.5032</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Foov</p><p>oov</p></td><td class="cell"><p>.5462</p></td><td class="cell"><p>.5581</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Riv</p></td><td class="cell"><p>.9426</p></td><td class="cell"><p>.9417</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Piv</p></td><td class="cell"><p>.9527</p></td><td class="cell"><p>.9546</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Fiv</p></td><td class="cell"><p>.9476</p></td><td class="cell"><p>9481</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></tr></table><p>"H <b>70" </b>(Japan yen), H ^ 0" (not three not four).</p><p>For open test, we hoped to use NER module to increase the OOV recall. But the NER module didn't prompt the performance very much because it was trained by the MSRA NER data in Bakeoff3. The difference between two corpora may depress the NER modules effect. Also, the open test was done on the output of close test and all the errors were passed.</p></subsection><subsection number="5.2" title="Name entity recognition results"><p>The official results of our NER system on MSRA corpus for open track are showed in Table 4. As it shows, our system achieves a relatively high score on both PER and LOC task, but the performance of ORG is not so good, and the Avgl performance is decreased by it. The reasons are: (1) The ORG sequences are often very long and our system is unable to deal with the long term, a MEMM or CRF model may perform better. (2) The resource for LOC and ORG are much smaller than that of PER. More sophisticated features such like "W(Q)" may provide more useful information for the system.</p><table caption="Table 4 NER results on MSRA corpus"></table></subsection><subsection number="5.3" title="Part-of-speech tagging results"><p>We evaluate our POS tagging model on the PKU corpus for close and open track and NCC corpus for close track based on TBL. Table 5 is the official result of our system. In PKU open test, NER is used to recognize name entity of text, so its result is better than that of close test. The IV-R result is relative good, but the OOV-R is not so good, which drops the total performance. The reasons lie in: (1) TBL model is not good at tagging out of vocabulary words. CRF model may be a better selection if our computer can meet its huge memory requirements. (2) Our NER system is trained by MSRA corpus. It does not fit the PKU and NCC corpus.</p><table caption="Table 5 POS results on PKU and NCC corpus Corpus      Total-A   IV-R   OOV-R MT-RPKUclose"></table><doubt alpha="0.0" length="33" tooSmall="False" monospace="0.0">^ .9113     .9518     .2708 .8958</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">test</doubt><doubt alpha="21.2" length="33" tooSmall="False" monospace="0.0">PKUopen.9197   .9512   .4222 .899</doubt><p>test NCC close</p><doubt alpha="25.6" length="39" tooSmall="False" monospace="0.0">Cclose.9277     .9664     .2329 .9 test</doubt></subsection></section><section number="6" title="Conclusions"><p>Chinese lexical analysis system is built for the SIGHAN tracks which consists of Chinese word segmentation, name entity recognition and part-of-speech tagging. Conditional random fields, maximum entropy model and transformation-based learning model are utilized respectively. Our system achieves the medium results in all the three tasks.</p><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>MSRA</p></td><td class="cell"><p>P</p></td><td class="cell"><p>R</p></td><td class="cell"><p>F</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PER</p></td><td class="cell"><p>.9498</p></td><td class="cell"><p>.9549</p></td><td class="cell"><p>.9524</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LOC</p></td><td class="cell"><p>.9129</p></td><td class="cell"><p>.9194</p></td><td class="cell"><p>.9161</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ORG</p></td><td class="cell"><p>.8408</p></td><td class="cell"><p>.7469</p></td><td class="cell"><p>.7911</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Avgl</p></td><td class="cell"><p>.9035</p></td><td class="cell"><p>.8791</p></td><td class="cell"><p><b>.8911</b></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></tr></table></section><references><p>A. Berger, S. A. Della Pietra and V. J. Della Pietra. A Maximum Entropy Approach to Natural Language Processing. <i>Computational Linguistics, </i>1996. 22(1), pages 39-71.</p><p>G. Sun, Y. Guan and X. Wang. A Maximum Entropy Chunking Model With N-fold Template Correction. <i>Journal of Electronics, </i>2007. 24(5), pages 690-695.</p><p>J. Lafferty, A. McCallum and F. Pereira. Conditional random fields: Probabilistic models for segmenting and labeling  sequence data. <i>In Proceedings of ICML-2001, </i>Williams College, Massachusetts, USA. 2001. pages 282-289.</p><p>S. Zhang, Y. Qin, J. Wen, X. Wang. Word Segmentation and Named Entity Recognition for SIGHAN Bakeoff3. In <i>Proceedings of the Fifth SIGHAN Workshop on Chinese Language Processing. </i>Sydney, Australia. 2006. pages 158-161.</p><p>H. Zhao, C. Huang, and M. Li. An improved Chinese word segmentation system with conditional random field. In <i>Proceedings of the Fifth SIGHAN Workshop on Chinese Language Processing, </i>Sydney, Australia. 2006.pages 162-165.</p></references></body></article>