<?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="193"/><title>Chinese Word Segmentation Based On Direct Maximum Entropy Model</title><author surname="Shi" givenname="Wu-Guang"><org  name="Peking University" country="China" city="Beijing"/></author></firstpageheader><frontmatter><p><b>Chinese Word Segmentation Based On Direct Maximum Entropy</b></p><p><b>Model</b></p><p>Wu-Guang Shi</p><p>Peking University, Beijing, 100871, China</p><p>shiwuguang@pku.edu.cn</p><p>1</p></frontmatter><abstract></abstract></header><body><section title=""><p>Chinese word segmentation is a fun­damental and important issue in Chi­nese information processing. In order to find a unified approach for Chinese word segmentation, the author develop a Chinese lexical analyzer PCWS using direct maximum entropy model. The paper presents the general description of PCWS, as well as the result and analysis of its performance at the Sec­ond International Chinese Word Seg­mentation Bakeoff.</p><p>Introduction</p><p>Och and Ney(2002) present a framework based on direct maximum entropy model to construct the machine translation system. The model treats knowledge sources as feature functions, and al­lows the system to be extended easily by adding new feature functions. We think the model can be used to provide a unified approach for Chi­nese word segmentation. PCWS is the system based on this thinking.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">2</doubt><p>System Description</p><p>PCWS consists of four components: Word gen­eration, Disambiguation, Select the best word sequence and Output the result. They are de­scribed below.</p><subsection number="2.1" title="Word Generation"><p>The procedure of word generation involves two steps: (1) generation of the common words which are listed in the Dictionary. (2) generation of the unknown words. The unknown words handled by the system involve numeric expres­sion, time expression, personal name, location name and organization name. PCWS can recog­nize the abbreviation of person name, and fail to find the abbreviation of location name and or­ganization name.</p><p>PCWS constructs an integrated segmentation graph. The node in the graph is the minimal segmentation unit that cannot be split in any stage that follows. The unit consists of Chinese character, punctuation, Arabic numeral string and English character string. Every word that be generated is an edge in the graph.</p><p>Making the integrated segmentation graph is to avoid the blind spots in segmentation, but it brings the graph more complex, and make the system's speed slow.</p><p>Every word will belong to a class.</p><p>Given a word Wi, its class is defined by Figure 1.</p><p>Wi    iff Wi is listed in the segmentation lexicon.</p><p>PER iff Wi is a person name LOC iff Wi is a location name ORG iff Wi is an organization name NUM iff Wi is a numeral expression TIME iff Wi is a time expression</p><p>Figure 1 : Class Definition of word Wi</p></subsection><subsection number="2.2" title="Disambiguation"><p>In constructing the graph, PCWS detect the am­biguities of the segmentation and classify the ambiguities into two classes: the false ambiguity and the true ambiguity. The former is simply solved by querying a table. The segmentation information around the true ambiguities will be collected and PCWS will give an estimate of each possible segmentation mode of the true ambiguities.<page local="2" global="194"/> These estimates will be used by selecting the best path.</p></subsection><subsection number="2.3" title="Select the Best Word Sequence"><p>The procedure of this part consists of two proc­esses: generating the candidate word sequences and finding the best word sequence. If s is a Chinese sentence which is a character sequence, w is the all possible word sequences given s, w# = {w,, w2, .... wn} is a word se­quence, c={d, c2, cn} is a corresponding class sequence of w#. We use Viterbi algorithm to generate the candidate paths. In order to con­trol the search space, all the paths will be ranked by a class mode score. The maximum number of the candidate paths generated by each node in the graph cannot be larger than a Number threshold we give.</p><p>The class mode score we used can be written as</p><doubt alpha="66.7" length="30" tooSmall="False" monospace="0.0">Score(v) = Pgenerate(^#|^textC</doubt><p>The P(c) and P(w* I c) is similar to the one de­fined by Gao et al.(2003).</p><p>We use the direct maximum entropy model to find the best word sequence. If w" is the best path we need. w* is the candidate set. Giving the direct maximum entropy model and neglecting its renormalization, we can obtain the following decision rule:</p><doubt alpha="63.6" length="11" tooSmall="False" monospace="0.0">w   =argmax</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">w# ew *</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">M</doubt><doubt alpha="58.3" length="12" tooSmall="False" monospace="0.0">Ilkhm (w#,s)</doubt><p>hi (w#, s) is the feature function of the word sequence. The parameter <b><i>m </i></b>is the power of the feature.</p><p>In PCWS, we define five feature functions:</p><p>1) Context feature</p><doubt alpha="58.3" length="24" tooSmall="False" monospace="0.0">h1(w#,s)=-l°gPcontext(C)</doubt><p>2) Candidate person name feature</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">N</doubt><doubt alpha="50.0" length="26" tooSmall="False" monospace="0.0">h2(w#,s) = ^ genper(wt|ci)</doubt><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">i==1</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">Here</doubt><p>genperwC ) =</p><doubt alpha="47.4" length="19" tooSmall="False" monospace="0.0">^ (w|c) ifï c = PER</doubt><p>generate  <i>i\</i><i> w </i><i>i</i></p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">else</doubt><p>3) Candidate location name feature N</p><doubt alpha="42.3" length="26" tooSmall="False" monospace="0.0">h3(w#,s) = ^ genloc(w;|c;)</doubt><doubt alpha="63.0" length="27" tooSmall="False" monospace="0.0">f-logPIe-e(w{|c.) iffC =LOC</doubt><doubt alpha="66.7" length="12" tooSmall="False" monospace="0.0">genloc(w|c):</doubt><footnote label="11">[0 else</footnote><p>4) Candidate organization name feature N</p><doubt alpha="52.6" length="19" tooSmall="False" monospace="0.0">w#,s)=j]genorg(|c;)</doubt><p>genorgwCi ) =</p><doubt alpha="63.2" length="19" tooSmall="False" monospace="0.0">pogU-e»,) iffC =ORG</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><doubt alpha="65.1" length="43" tooSmall="False" monospace="0.0">5) The length of the pathh5(w#,s)=Length(c)</doubt><p>We realize the GIS algorithm which can handle any type of real-valued features to train the val­ues of x <footnote anchor="5"/> .</p></subsection><subsection number="2.4" title="Output the Result"><p>The component outputs the best word sequence and adjusts the result form based on the standard of test corpora. In PCWS, we only adjust the form of the unknown words the system recog­nizes.</p><p>For example, in " 1 9 9 <b>2</b>^11|", "19 9 <b>2       </b>and "1 1 £J " will be recognized inde­pendently as unknown word. Base on the stan­dard of Msr corpora, we combine the continuous words which belong to the class TIME."</p></subsection><subsection number="2.5" title="System Overview"><p>The overall architecture of our word segmenta­tion system is presented in figure 2.</p><p>Dictionary I« with Feature</p><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">Label</doubt><p>Generate Common Words</p><p>Generate Unknown Words</p><p>Disambiguation</p><p>Generating Candidate Word Sequences</p><p>Find The Best Word Sequence</p><p>Output the Result<page local="3" global="195"/></p><figure caption="Figure 2: Overall architecture of PCWS"></figure><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">m-1</doubt><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">f-logP0</doubt><p>Because of the bakeoffs rule and the limit of time, we only attend the track of Msr_open. Table 1 is the result of PCWS in this bakeoff. Form the table, we can know the system is re­markable in OOV recognize. Due to only small named entity words are in­cluded in the PCWS's dictionary, most of named entity words are generated by the system. However, the system's overall performance is not in balance with its good Roov. We notice Riv of the result is low. The main reason causes Riv low is the difference between the segmenta­tion standard of PKU training corpora and the segmentation standard of MSR test corpora. The difference is so distinctly even in the segmenta­tion standard of common words. For instance:</p><p>Example 1 [Correct Result] <b><i>MWf </i></b>^  Ä M «</p><p>ißcA <b><i>m</i></b><b><i> </i></b>m <b><i>m.imft</i></b><b><i> </i></b><b><i>,</i></b><b><i> </i></b><b><i>Mt&amp;$l </i></b><b><i>mm mn</i></b></p><p>[PCWS Result]     <b><i>mWf </i></b><b>^ #r </b>ife <b><i>A «</i></b></p><p><b><i>m</i></b><b><i> </i></b>m <b><i>tmmïï</i></b><b><i> </i></b><b><i>,</i></b><b><i>      mm mm</i></b></p><doubt alpha="63.2" length="68" tooSmall="False" monospace="0.0">The result's True Words Recall = 0.875, Test Words Precision = 0.778</doubt><p>Example 2 [Correct Result] <b><i>ZW </i></b><b>ff;J </b><b>0 J® </b><b>nH</b> [PCWS Result]   a 2.ir irj mifö fri"j «</p><doubt alpha="63.2" length="68" tooSmall="False" monospace="0.0">The result's True Words Recall = 0.700, Test Words Precision = 0.700</doubt><p>Before we get the result, we neglected the prob­lem. We put our attention in named entity rec­ognize, which need the training corpora with the label information, so we use six month PKU corpora to construct our system and not use well the MSR training corpora in the bakeoff.</p><p>In order to know the influence of the problem, we test our system in PKU test corpora, Table 2 is the result of PCWS in the test.</p><p>It's an excellent result and powerful proves our suppose.</p><p>We wish to make our system more adaptable to different standards in the near future.</p></subsection></section><section number="4" title="Conclusion"><p>We have presented our Chinese word segmenta­tion system PCWS and its result for Msr_open track. We are glad to see its good performance of OOV recognize. In the course of the bakeoff, we find some problems in PCWS. We will try to select more useful feature functions into the ex­isting segmentation model in future work. We are confident the system's performance will have a big progress next time.</p></section><section number="5" title="Acknowledgement"><p>Thank Prof. Hou-Feng Wang for his attention and aid. The author would especially express gratitude to his family, their encouragement and support make the author to hold the line.</p><table caption="Table 1: Test Result on Msr-open Track 3 Evaluation" 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><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Track</p></td><td class="cell"><p>TOTAL TRUE WORD COUNT</p></td><td class="cell"><p>TOTAL TEST WORD COUNT</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"><p>OOV</p></td><td class="cell"><p>Roov</p></td><td class="cell"><p>Riv</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Msr Open</p></td><td class="cell"><p>106873</p></td><td class="cell"><p>106624</p></td><td class="cell"><p>0.913</p></td><td class="cell"><p>0.915</p></td><td class="cell"><p>0.914</p></td><td class="cell"><p>0.026</p></td><td class="cell"><p>0.725</p></td><td class="cell"><p>0.918</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><td class="cell"></td></tr></table><table caption="Table 2: Test Result on Pku_open" 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>Track</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>Pku Open</p></td><td class="cell"><p>0.973887</p></td><td class="cell"><p>0.978405</p></td><td class="cell"><p>0.976141</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>Franz J. Och and Hermann Ney. 2002. Discrimina­tive training and maximum entropy models for statistical machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics (ACL), pages 295-302, Philadelphia, PA, July.</p><p>Gao, Jianfeng, Mu Li and Chang-Ning Huang. 2003. Improved source-channel model for Chinese word segmentation. In: ACL2003.</p></references></body></article>