<?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="151"/><title>Word Boundary Token Model for the SIGHAN Bakeoff 2007</title><pubinfo>Sixth SIGHAN Workshop on Chinese Language Processing</pubinfo><author surname="Tsai" givenname="Jia-Lin"><org  name="Konan University" country="Japan" city="Kobe"/></author></firstpageheader><frontmatter><p><b>Word Boundary Token Model for the SIGHAN Bakeoff 2GG7</b></p><p><b>Tsai Jia-Lin</b></p><p>Department of Information Management Tungnan University Taipei 222, Taiwan tsaijl@mail.tnu.edu.tw</p></frontmatter><abstract>This paper describes a Chinese word seg­mentation system based on word boundary token model and triple template matching model for extracting unknown words; and word support model for resolving segmen­tation ambiguity. </abstract></header><body><section number="1" title="Introduction"><p>In the SIGHAN bakeoff 2007, we participated in the CKIP and the CityU closed tasks. Our Chinese word segmentation system is based on three mod­els: (a) word boundary token (WBT) model and (b) triple context matching model for unknown word extraction, and (c) word support model for seg­mentation disambiguation. Since the word support model and triple context matching model have been proposed in our previous work (Tsai, 2005, 2006a and 2006b) at the SIGHAN bakeoff 2005 (Thomas, 2005) and 2006 (Levow, 2006), the ma­jor descriptions of this paper is on the WBT model.</p><p>The remainder of this paper is arranged as follows. In Section 2, we present the WBT model for ex­tracting words from each Chinese sentence. Scored results and analyses of our CWS system are pre­sented in Section 3. Finally, in Section 4, we pre­sent our conclusion and discuss the direction of future research.</p></section><section number="2" title="Word Boundary Token Model"><p>To develop the WBT model, first, we define word boundary token. Second, we give definition and computation of the WBT probability and the WBT frequency for a given corpus. Finally, algorithm of our WBT model for word extraction is given.</p><subsection number="2.1" title="Types of Word Boundary Token"><p>We classify WBT into three types: left, right and bi-direction. The left and right word boundary (WB) tokens are the immediately preceding word and the following word of a word in a Chinese sentence, respectively. Suppose WiW2W3 is a Chinese sentence comprised of three Chinese words Wi, W2 and W3. To this case, Wi and W3 are the left and the right WB tokens of W2, respectively. On the other hand, those words that can simultaneously be left and right WB tokens of a word in corpus are defined as bi-direction WB tokens. Suppose W4W2Wi is a Chinese sentence comprised of three Chinese words W4, W2 and Wi. Following the above cases, Wi can be a bi-direction WB token for W2. Table i is the Top 5 left, right and bi-direction WB tokens derived by the Academia Sinica (AS) corpus (CKIP, 1995 and 1996). From Table 1, the Top 1 left , right and bi-direction WB tokens is "^J(of)."<page local="2" global="152"/></p><table caption="Table 1. Top 5 left, right and bi-direction WB to­kens derived from the AS corpus"></table><table caption="Table 1. Top 5 left, right and bi-direction WB tokens derived from the AS corpus" 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><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Left</p></td><td class="cell"><p>Right</p></td><td class="cell"><p>Bi-Direction</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top1</p></td><td class="cell"><p></p></td><td class="cell"><p>fö(of)</p></td><td class="cell"><p>fö(of)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top2</p></td><td class="cell"><p>JÉ(is)</p></td><td class="cell"><p>JÉ(is)</p></td><td class="cell"><p>JÉ(is)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top3</p></td><td class="cell"><p>Ä(at)</p></td><td class="cell"><p>T (already)</p></td><td class="cell"><p>Ä(at)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top4</p></td><td class="cell"><p>«(a)</p></td><td class="cell"><p>Ä(at)</p></td><td class="cell"><p>T (already)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top5</p></td><td class="cell"><p>W(has)</p></td><td class="cell"><p>— (one)</p></td><td class="cell"><p>#ä(and)</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></subsection><subsection number="2.2" title="WBT Frequency and WBT Probability"><p>We first give the computation of WBT frequency, then, the computation of WBT probability.</p><p>(1) <b>WBT frequency: </b>we use WBT_F(string, <i>WBT, </i>L/R) as the function of WBT frequency, where <i>string </i>is a n-char string containing n Chinese characters, <i>WBT </i>is a word boundary token, and <i>L/R </i>indicates to compute left or right WBT frequency. Now, take WBT_F(" ^ffl(we)", "&amp;5(of)", L) as example. First, we submit the query "fi^ficff"!" to system corpus. Second, set the number of sentences including this query is the WBT_F("OT(we)", "ft(of), L).</p><p>(2) <b>WBT Probability: </b>we use WBT_P(string1, <i>string2, WBT, L/R) </i>as the function of WBT probability, where <i>string1 </i>and <i>string2 </i>are two n-char strings, <i>WBT </i>is a word boundary token, and <i>L/R </i>indicates to compute left or right WBT probability. The equations of left and the right WBT probability are:</p><doubt alpha="60.7" length="56" tooSmall="False" monospace="0.0">WBT_P(string1,string2, WBT, L)= WBT_F(string1, WBT, L) /</doubt><doubt alpha="53.8" length="52" tooSmall="False" monospace="0.0">(WBT_F(string1, WBT, L)+WBT_F(string2, WBT, L) ) (1)</doubt><doubt alpha="66.7" length="30" tooSmall="False" monospace="0.0">WBT_P(string1,string2, WBT,R)=</doubt><doubt alpha="63.6" length="22" tooSmall="False" monospace="0.0">WBT_F(string1, WBT,R)/</doubt><doubt alpha="53.8" length="52" tooSmall="False" monospace="0.0">(WBT_F(string1, WBT, R)+WBT_F(string2, WBT, R) ) (2)</doubt></subsection><subsection number="2.3" title="Algorithm of WBT Model"><p>We use WBTM(n, WBT, <i>threshold^, thresholdf) </i>as the function of the WBT model, where <i>n </i>is the window size, <i>threshold_p </i>is the threshold value of WBT probability and <i>thresholdf </i>is the threshold value of WBT frequency. The algorithm of our WBT model applied to extract words from a given Chinese sentence is as follows: <b><i>Step 1. </i></b>INPUT:</p><p>n, WBT, <i>threshold_p </i>and <i>thresholdf; <b>Step 2. </b></i>IF sentence length is less or equal to <i>n </i>THEN GOTO Step 4; <b><i>Step 3.</i></b></p><p>SET loopCount to one REPEAT</p><p>COMBINE the characters of sentence between loopCountth and (loopCount + <i>n - </i>1)th to be a <i>stringa</i></p><p>COMBINE the characters of sentence between (loopCount+1)th and (loopCount + n)th to be a <i>string_b</i></p><p>IF  WBT_P(string_a,  <i>stringb,   WBT, </i><i>L)</i><i> </i><i>&gt;</i><i> threshold_p </i>AND</p><p>WBT_P<i>(string_a, string_b, WBT, R) &gt; threshold_p </i>AND</p><p>WBT_F<i>(string_a, WBT, </i><i>L)</i><i> &gt; threshold_f </i>AND</p><p>WBT_F<i>(string_a, WBT, R) &gt; threshold_f</i></p><p>THEN SET <i>string a </i>is as word</p><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">ENDIF</doubt><p>IF WBT_P<i>(string_b, string_a, WBT, </i><i>L)</i><i> </i><i>&gt;</i><i> threshold_p </i>AND</p><p>WBT_P<i>(string_b, string_a, WBT, R) &gt; threshold_p </i>AND</p><p>WBT_F<i>(string_b, WBT, </i><i>L)</i><i> &gt; threshold_f </i>AND</p><p>WBT_F<i>(string_b, WBT, R) &gt; threshold_f</i></p><p>THEN SET <i>string_b </i>to a word</p><p>INCREMENT loopCount UNTIL loopCount &gt; sentence length <i>- n <b>Step 4. </b></i>END.</p><p>loopCount is 1 loopCount is 21) to extract word "Jjfti" from the Chinese sentence</p><doubt alpha="58.4" length="293" tooSmall="False" monospace="0.0">stringa=flltt;stringb=tt±ftJWBT_F(string_a,'W,L) = 0 WBT_F(string_a,"W,R) = 7 WBT_F(string_b,"W,L) = 0 WBT_F(string_b,"W,R) = 0 WBT_P(string_a,string b,"^J", L) = 0 WBT_P(string_a,string b,"^J", R) = 1 WBT_P(string_b,string a,"^J", L) = 0 WBT_P(string_b,string a,"^J", R) = 0 SETJjfitto a word</doubt><doubt alpha="56.6" length="274" tooSmall="False" monospace="0.0">stringa=|i±festringb=iffjfSWBT_F(string_a,"W,L) = 0 WBT_F(string_a,"W,R) = 0 WBT_F(string_b,"W,L) = 0 WBT_F(string_b,"W,R) = 0 WBT_P(string_a,string b,"^J", L) = 0 WBT_P(string_a,string b,"^J", R) = 0 WBT_P(string_b,string a,"^J", L) = 0 WBT_P(string_b,string a,"^J", R) = 0</doubt><table caption="Table 2. An example of applying WBTM(2, 0.95,"></table><p>"SfitiMT<page local="3" global="153"/></p><p>Table 2 is an example of applying WBTM(2, "ft", 0.95, 1) to extract words from the Chinese sentence <i>"Mi^l&amp;M" </i>by the AS corpus</p></subsection></section><section number="3" title="Evaluation"><p>In the SIGHAN Bakeoff 2007, there are five train­ing corpus for word segmentation (WS) task: AS (Academia Sinica), CityU (City University of Hong Kong) are traditional Chinese corpus; CTB (University of Colorado, United States), NCC (State Language Commission of P.R.C., Beijing) and SXU (Shanxi University, Taiyuan) are simpli­fied Chinese corpus. For each corpus, there are closed and open tasks. In this Bakeoff, we attend the AS (Academia Sinica) and CityU (City Univer­sity of Hong Kong) closed WS tasks. Tables 3 and 4 show the details of CKIP and CityU tasks. From Table 3, it indicates that the CKIP should be a 10-folds design. From Table 4, it indicates that the CityU should be a 5-folds design.</p><doubt alpha="59.0" length="39" tooSmall="False" monospace="0.0">Training Testing Sentence 95,303 10,834</doubt><doubt alpha="38.1" length="21" tooSmall="False" monospace="0.0">Wordlist48,114_14,662</doubt><table caption="Table 3. The details of CKIP WS task"></table><doubt alpha="60.5" length="38" tooSmall="False" monospace="0.0">Training Testing Sentence 36,227 8,093</doubt><doubt alpha="36.4" length="22" tooSmall="False" monospace="0.0">Wordlist43,639_23,303_</doubt><table caption="Table 4. The details of CityU WS task"></table><subsection number="3.1" title="Our CWS System"><p>The major steps of our CWS system with word boundary token model, triple context matching model and word support model are as below: <b><i>Step 0. </i></b>Combine training corpus and testing corpus</p><p>as system corpus; <b><i>Step 1. </i></b>Generate the BMM segmentation for the given Chinese sentence by system dictionary; <b><i>Step 2. </i></b>Use WBT model with system corpus to extract 2-char, 3-char and 4-char words from the given Chinese sentence, where <i>WBT </i>is set to "ft," "i," "ft," "7," <i>threshold</i><i>s </i>is set to 0.95 and <i>thresholdf </i>is set to 1; <b><i>Step 3. </i></b>Use TCT (triple context template) matching model to extract 2-char, 3-char and 4-char words from the segmented Chinese sentence of Step 1. The details of TCT matching model</p><doubt alpha="55.2" length="29" tooSmall="False" monospace="0.0">can be found in (Tsai, 2005);</doubt><p><b><i>Step 4. </i></b>Add the found words of Steps 2 and 3 into system dictionary;</p><p><b><i>Step 5. </i></b>Generate the BMM segmentation for the given Chinese sentence by system dictionary;</p><p><b><i>Step 6. </i></b>Use word support model to resolve <b>Over­lap Ambiguity </b>(OA) and <b>Combination Am­biguity </b>(CA) problems for the BMM seg­mentation of Step 5.</p></subsection><subsection number="3.2" title="Bakeoff Scored Results"><table caption="Table 5 is the comparison of scored results be­tween our CWS and the SIGHAN Bakeoff 2007"></table><p>baseline system for the CKIP closed WS task by the SIGHAN Bakeoff 2007. Table 6 is the com­parison between our CWS and the SIGHAN Bake­off 2007 baseline system for the CityU closed WS task by the SIGHAN Bakeoff 2007.</p><p>our CWS system and the SIGHAN Bakeoff 2007 baseline system for the CKIP closed WS task baseline system for the CityU closed WS task</p><p>From Tables 5 and 6, it shows the major im­provement of our CWS for the baseline system is on the precision of word segmentation. That is to say, the major target system for improving our CWS system is the unknown word extraction sys­tem, i.e. the word boundary model and the triple context template matching model.</p></subsection><subsection number="3.3" title="Analysis"><p>Table 7 is the coverage of 2-char, 3-char, 4-char and great than 4-char error words extracting by our</p><p>CWS for the CKIP and the CityU closed WS tasks.</p><table caption="Table 5. The comparison of scored results between" 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></p></td><td class="cell"><p>Baseline</p></td><td class="cell"><p>Our CWS</p></td><td class="cell"><p>Increase</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>0.8978</p></td><td class="cell"><p>0.915</p></td><td class="cell"><p>0.0172</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>0.8232</p></td><td class="cell"><p>0.9001</p></td><td class="cell"><p>0.0769</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>0.8589</p></td><td class="cell"><p>0.9075</p></td><td class="cell"><p>0.0486</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><table caption="Table 6. The comparison of scored results between" 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></p></td><td class="cell"><p>Baseline</p></td><td class="cell"><p>Our CWS</p></td><td class="cell"><p>Increase</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>0.9006</p></td><td class="cell"><p>0.9191</p></td><td class="cell"><p>0.0185</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>0.8225</p></td><td class="cell"><p>0.9014</p></td><td class="cell"><p>0.0789</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>0.8598</p></td><td class="cell"><p>0.9102</p></td><td class="cell"><p>0.0504</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><page local="4" global="154"/><doubt alpha="57.1" length="14" tooSmall="False" monospace="0.0">_Coverage (%)_</doubt><doubt alpha="55.2" length="29" tooSmall="False" monospace="0.0">2-char 3-char 4-char &gt; 4-char</doubt><doubt alpha="18.2" length="22" tooSmall="False" monospace="0.0">CKIP 68%   24%   4% 4%</doubt><doubt alpha="20.0" length="25" tooSmall="False" monospace="0.0">CityU_78%    19%    2% 1%</doubt><doubt alpha="20.0" length="25" tooSmall="False" monospace="0.0">Total 75%    21%    3% 1%</doubt><p><i>content and illustration of Sinica corpus of Aca-demia Sinica. </i>Institute of Information Science, Academia Sinica. CKIP (Chinese Knowledge Information Processing Group). 1996. <i>A study of Chinese Word Bounda­ries and Segmentation Standard for Information processing </i>(in Chinese). Technical Report, Taiwan, Taipei, Academia Sinica. Levow, Gina-Anne. 2006. The Third International Chi­nese Language Processing Bakeoff: Word Seg­mentation and Named Entity Recognition, In <i>Proceedings of SIGHAN5 the 3rd International Chinese Language Processing Bakeoff at Col-</i> <i>ing/ACL 2006, </i>July, Sydney, Australia, 108-117.</p><p>Thomas, Emerson. 2005. The Second International Chi­nese Word Segmentation Bakeoff, In <i>Proceed­ings of The 2nd International Chinese Word Segmentation Bakeoff at SIGHAN-4, </i>October, Jeju Island, Korea, 123-133.</p><p>Tsai, Jia-Lin. 2005. Report to BMM-based Chinese Word Segmentor with Context-based Unknown Word Identifier for the Second International Chi­nese Word Segmentation Bakeoff, In <i>Proceed­ings of The 2nd International Chinese Word Segmentation Bakeoff at SIGHAN-4, </i>October, Jeju Island, Korea, 142-145.</p><p>Tsai, Jia-Lin. 2006. Using Word Support Model to Im­prove Chinese Input System, In <i>Proceedings of</i> <i>Coling/ACL 2006, </i>July, Sydney, Australia, 842­849.</p><p>Tsai, Jia-Lin. 2006. BMM-based Chinese Word Seg­mentor with Word Support Model for the</p><p>SIGHAN Bakeoff 2006, In <i>Proceedings of</i> <i>SIGHAN5 the 3rd International Chinese Lan­guage Processing Bakeoff at Coling/ACL 2006, </i>July, Sydney, Australia, 130-133.</p><table caption="Table 7. The coverage of 2-char, 3-char, 4-char and great than 4-char error words extracting by our"></table><p>CWS for the CKIP and the CityU closed WS tasks</p><p>From Table 7, it shows the major n-char unknown word extraction for improving our CWS system is on 2-char unknown word extraction. It is because that the total coverage of 2-char word errors ex­traction of our CWS system for the CKIP and the CityU WS tasks is 75%.</p></subsection></section><section number="4" title="Conclusions"><p>In this paper, we describes a Chinese word seg­mentation system based on word boundary token model and triple context matching model (Tsai, 2005) for extracting unknown words; and word support model (Tsai, 2006a and 2006b) for resolv­ing segmentation ambiguity. To develop the word boundary model, we define WBT and classify WBT into three types of left, right and bi-direction. As per three types of WBT, we define WBT prob­ability and WBT frequency.</p><p>In the SIGHAN Bakeoff 2007, we take part in the CKIP and the CityU closed word segmentation tasks. The scored results show that our CWS can increase the Bakeoff baseline system with 4.86% and 5.04% F-measures for the CKIP and the CityU word segmentation tasks, respectively. On the other hand, we show that the major room for im­proving our CWS system is the 2-char unknown word extraction of the word boundary model and triple context matching model. The performance of word support model is great and supports our pre­vious work (Tsai, 2006a and 2006b).</p><p>We believe one major advantage of the WBT model is to use it with web as live corpus to mini­mum the corpus sparseness effect. Therefore, in the future, we shall investigate the WBT model with the web corpus, such as the searching results of GOOGLE and Yahoo!, etc.</p></section><references><p>CKIP (Chinese Knowledge Information Processing Group). 1995. <i>Technical Report no. 95-02, the</i></p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">i54</doubt></references></body></article>