<?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="837"/><title>Extract Chinese Unknown Words from a Large-scale Corpus Using Morphological and Distributional Evidences</title><pubinfo>Proceedings of the 5th International Joint Conference on Natural Language Processing,pages 837-845, Chiang Mai, Thailand, November 8 - 13, 2011. ©2011 AFNLP</pubinfo><author surname="Zhang" givenname="Kaixu"><org  name="The Boeing Company" country="USA" city="Seattle"/></author><author surname="Wang" givenname="Ruining"><org  name="The Boeing Company" country="USA" city="Seattle"/></author><author surname="Xue" givenname="Ping"><org  name="The Boeing Company" country="USA" city="Seattle"/></author><author surname="Sun" givenname="Maosong"><org  name="Tsinghua University" country="China" city="Beijing"/></author></firstpageheader><frontmatter><p><b>Extract Chinese Unknown Words from a Large-scale Corpus Using Morphological and Distributional Evidences</b></p><p><b>Kaixu Zhang<footnote anchor="1"/>" </b>and <b>Ruining Wang<footnote anchor="1"/>" </b>and <b>Ping Xue* </b>and <b>Maosong Sunt</b></p><p>jState Key Laboratory on Intelligent Technology and Systems Tsinghua National Laboratory for Information Science and Technology Department of Computer Science and Technology Tsinghua University, Beijing 100084, China</p><p>{kareyzhang,wangruining.student,sunmaosongj@gmail.com</p><p>JThe Boeing Company ping.xue@boeing.com</p></frontmatter><abstract>The representative method of using mor­phological evidence for Chinese unknown word (UW) extraction is Chinese word segmentation (CWS) model, and the method of using distributional evidence for UW extraction is accessor variety (AV) criterion. However, neither of these meth­ods has been verified on large-scale cor­pus. In this paper, we propose exten­sions to remedy the drawbacks of these two methods to handle large-scale corpus: (1) for CWS, we propose a generalized definition of word to improve the recall; and (2) for AV, we propose a restricted ver­sion to decrease noise. We carry out ex­periments on a Chinese Web corpus with approximate 200 billion Chinese charac­ters. Experimental results show that our methods outperform the baselines, and the combination of the two evidences can fur­ther improve the performance. Moreover, our methods can also efficiently segment the corpus on the fly, which is especially valuable for processing large-scale corpus. </abstract></header><body><section number="1" title="Introduction"><p>A Chinese word is constructed with one or more Chinese characters. Chinese characters can am­biguously combine to form Chinese words, and there are no explicit delimiters in the text to in­dicate word boundaries. It is thus crucial for most Chinese natural language processing tasks to maintain a large word list. Given that Chinese lan­guage has several productive word creation mech­anisms, identification and extraction of UW is an important task for or Chinese NLP tasks.</p><p>Chinese unknown word (UW) extraction aims to extract UWs from a given corpus and enrich the word list. Two types of information can be used to determine whether a string of characters in question is a Chinese UW or not, namely the characters that construct the string in question, and the neighbors that this string of characters appears with. The first type of information can be regarded as the morphological evidence, while the second can be viewed as the distributional evidence.</p><p>The representative method of using morpho­logical evidence is Chinese word segmentation (CWS) model. CWS is to identify every word to­ken in a given sentence. Using the CWS model, we can define the word-string ratio (WSR) to ex­tract UWs. The representative method of using distributional evidence is the accessor variety (AV) criterion (Feng et al., 2004a).</p><p>WSR is directly derived from the CWS method based on character tagging (Xue, 2003). This CWS method is based on the morphological infor­mation of the strings in question and their context. Strings with high WSR are considered as words, for high WSR indicates that the corresponding string is segmented as a word by this CWS method with high probability. Though the performance of the CWS method is relatively high, it leaves a number of UWs unrecognized or incorrectly rec­ognized due to erroneous segmentation.</p><p>The AV criterion (Feng et al., 2004a) is based on the distributional information. Strings that have various contexts can be considered as words. It is shown that this method works well even for UWs with frequency of about 10. But both words and non-words with high frequency tend to have high AV. This brings noise for UW extraction in a large-scale corpus.</p><p>However, neither of these methods has been ver­ified on large-scale Web corpus. In fact, as we observe, they both show certain deficiencies when dealing with large-scale corpus.</p><page local="2" global="838"/><p>The emergence of online documents that con­tain various UWs poses challenges to UW extrac­tion and other Chinese NLP tasks, but also pro­vides a rich resource to make the UW extraction more meaningful.</p><p>Taking the two methods above as baselines, we propose two new methods, namely, generalized word string ratio (GWSR), and restricted acces­sor variety (RAV), by extending the current meth­ods respectively, in order to overcome the relevant problems for large-scale corpus.</p><p>For GWSR, we propose a sophisticated way to generalize the definition of word in the CWS model. This method can extract more UWs that cannot be correctly segmented as words. For RAV, as opposed to AV, we restricted the accessors to be a small set of word pairs <b>(w</b>j, <b>wr ) </b>such that <b>w</b>j appears right before the string in question and, at the same time, <b>wr </b>appears right after the string in question. RAV is especially suitable for a large-scale corpus in which UWs occur with relatively high frequency.</p><p>We carry out experiments on a Chinese Web corpus with approximate 200 billion Chinese char­acters. Experiment results show that our methods outperform the corresponding baselines, and the combination of our methods can further improve the performance. Some examples are shown in the experiments section.</p><p>We further investigate the effect of corpus size to UW extraction. The numbers of Chinese char­acters in corpora range from 20 million to 200 bil­lion. Moreover, our methods can also efficiently segment the corpus on the fly, which is practical for processing large-scale corpus.</p><p>The contribution of this paper is twofold. First, we proposed two UW extraction methods which outperform the baselines based on morphological and distributional evidence. Second, our experi­ments were conducted on corpora with up to 200 billion Chinese characters and provided insights about the effect of corpus size on UW extraction.</p></section><section number="2" title="Background"><subsection number="2.1" title="CWS as Character Tagging"><p>CWS aims to segment Chinese sentences into words. A practical CWS model needs to handle UWs, which are also named as out-of-vocabulary (OOV) words. If a corpus is perfectly segmented, the UW extraction task is also accomplished.</p><p>Xue (2003) proposed a character sequence tag­ging framework for CWS. Comparing to other methods, it has better performance on dealing with the UWs (Ling et al., 2003; Peng et al., 2004).</p><p>The sequence tagging framework is also used for named entity identification in English (McCallum and Li, 2003), which is related to Chinese UW ex­traction.</p><p>In this framework, the input is a raw Chinese sentence <b>s, </b>denoted as a sequence of characters <i>a:</i></p><doubt alpha="38.5" length="13" tooSmall="False" monospace="0.0">S= Cl...Cn(1)</doubt><p>The output of the character sequence tagging is a sequence <b>t </b>of tags <i>ti </i>corresponding to the input characters:</p><doubt alpha="27.8" length="18" tooSmall="False" monospace="0.0">t= ti . . . tn (2)</doubt><p>where <i>ti G </i>{B, M, E, S}. The tags B / M / E indicate that the corresponding character is at the beginning / middle / end position of a multi­character word. The tag S indicates that the corre­sponding character is a single character word. The segmentation result of this sentence can thus be determined by the tag sequence.</p><p>Given an input sentence <b>s, </b>the output sequence of tags <b>t </b>is calculated as</p><doubt alpha="48.0" length="25" tooSmall="False" monospace="0.0">t= arg milx WT$(s, t')(3)</doubt><p>where $ returns a feature vector of the pair ( <b>s, t') </b>, and W is a vector of feature weights. The decoding is to find a <b>t </b>that maximizes the objective function.</p><p>Machine learning methods such as maximum entropy (Ng and Low, 2004), conditional random field model (Peng et al., 2004) and perceptron (Jiang et al., 2009) have been used for this frame­work.</p><p>The features in this framework are mainly com­posed by character unigrams, character bigrams and tag bigrams. In Chinese, a character is usually a morpheme. Therefore the CWS model based on the character tagging framework can be regarded as a UW extraction method using morphological information.</p><p>However, in contrast to CWS, UW extraction focuses on identifying substrings in a corpus that are potential words independent of the environ­ments where they may occur. Though the per­formance of the CWS method is relatively high, the poor recall of UWs 'is still the Achilles heel of segmentation systems' (Emerson, 2005). The<page local="3" global="839"/></p><p>CWS methods also fails to capture distributional information of the strings in question.</p></subsection><subsection number="2.2" title="UW Extraction and the Accessor Variety Criterion"><p>There are methods proposed for UW extraction based on morphological evidence, distributional evidence, or both (Chen and Ma, 2002; Ma and Chen, 2003; Feng et al., 2004a; Hong et al., 2009).</p><p>Some methods can be used for both UW extrac­tion and CWS (Sun et al., 1998; Feng et al., 2004b; Jin and Tanaka-Ishii, 2006; Zhao and Kit, 2008). But for CWS, these methods are not comparable with the character tagging based CWS methods (Zhao and Kit, 2008), because the character tag­ging based CWS methods can better capture the morphological information.</p><p>We focus on a UW extraction method based on the distributional information, namely the acces­sor variety (AV) criterion (Feng et al., 2004a).</p><p>Assuming that a string is likely a meaningful unit if it occurs in different linguistic environments (Feng et al., 2004a), AV is defined as:</p><doubt alpha="48.3" length="29" tooSmall="False" monospace="0.0">AV(v)= min{Lav(v), Rav(v)}(4)</doubt><p>The L<b>av(v) </b>is defined as the number of distinct Chinese characters that precede <b>v </b>plus the num­ber of times that <b>v </b>appears at the beginning of a sentence. The R<b>av(v) </b>is defined as the number of distinct Chinese characters that succeed <b>v </b>plus the number of times that <b>v </b>appears at the end of a sen­tence. The larger the AV<b>(v) </b>is, the more likely <b>v </b>is a word.</p><p>In order to fulfill this method, an extra dictio­nary is needed. And three ad hoc rules are used to discard strings which contain adhesive characters and cannot be words. The details can be found in (Feng et al., 2004a).</p><p>This method works well even for strings with low frequency because any distinct character is re­garded as an accessor. However, when applying the method to a large-scale corpus in which strings in question are of high frequency, the noise in­creases considerably due to the lenient definition of the accessor.</p></subsection></section><section number="3" title="Our Model"><p>In this section, first we will introduce two UW extraction methods based on a character tagging based CWS model. Then we propose a UW ex­traction method called restricted accessor variety based on the distributional evidence. Finally, we discuss the combination of these methods.</p><subsection number="3.1" title="Morphological Evidence 3.1.1   Word-string Ratio"><p>A character tagging based CWS model, which is based on the morphological evidence, can be di­rectly used to extract UWs in a corpus. The Word-string ratio (WSR) provides a straightforward way to determine whether a string in question is a word or not. Strings with high WSR are regarded as</p><p>UWs.</p><p>WSR is defined as the ratio of the frequency of <b>v </b>that is segmented as a word to the frequency <b>v </b>that occurs as a string in the corresponding corpus:</p><doubt alpha="50.0" length="12" tooSmall="False" monospace="0.0">WSR(v)=im(5)</doubt><p>where word frequency WF<b>(v) </b>is the number of times that string <b>v </b>is segmented by the CWS model as a word in the corpus, and string fre­quency SF<b>(v) </b>is the number of times that string <b>v </b>appears in the corpus.</p><p>Now we discuss how to define the words in the CWS model. Since the tag sequence <b>t </b>in the character tagging framework may contain con­flicts (e.g., the tag sequence "B B" means that two immediately connected characters are both at the beginning of multi-character words, which is im­possible), we use an alternative way to define the words in the output. This new definition is also a preparation for the definition of the generalized word that we will propose.</p><p>Recall the decoding process of the CWS model in the character tagging framework described in Equation 3. Given a sentence <b>s </b>= c1... cn, we define Conf(m) as the confidence that there is a word boundary after the m-th character <i>cm </i><i>(tm</i><i> </i>G {E, S}):</p><doubt alpha="44.4" length="27" tooSmall="False" monospace="0.0">Conf(m) =   max  WT$(s, t)—</doubt><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">tme{E,S}</doubt><doubt alpha="34.3" length="35" tooSmall="False" monospace="0.0">T,    , (6) max   W1$(s, t)tme{B,M}</doubt><p>Obviously, Conf(m) &gt; 0 indicates that there is more likely a word boundary after the m-th char­acter, while Conf(m) &lt; 0 indicates that there is less likely a word boundary after the m-th charac­ter.</p><p>If the string in question ci • • • <i>Cj</i><i> </i>in <b>s </b>is a word, two confidences of the string boundaries Conf(i —<page local="4" global="840"/>1) and Conf(j ) should be positive and the confi­dences inside the string Conf(k) should be nega­tive for k = <i>i,</i><i> </i><i>•</i><i> </i><i>•</i><i> </i><i>•</i><i> </i><i>,j</i><i> </i><i>—</i><i> </i>1 . In other words, the string ci • • • cj is regarded as a word if and only if:</p><doubt alpha="40.0" length="45" tooSmall="False" monospace="0.0">Confo(ci• • • cj) &gt; 0 &gt; Confi(ci• • • cj) (7)</doubt><doubt alpha="60.3" length="63" tooSmall="False" monospace="0.0">where Confo(ci• • • cj ) and Confi(ci• • • cj ) are defined as:</doubt><doubt alpha="44.3" length="88" tooSmall="False" monospace="0.0">Confo(ci•••cj ) = min{Conf(i — 1), Conf(j)} (8) Confi(ci• • • cj) =    max   Conf(k) (9)</doubt><doubt alpha="21.4" length="14" tooSmall="False" monospace="0.0">k=i,--- ,j — 1</doubt><p>Roughly speaking, words defined according to tag sequence <i>ti </i>• • • t <i>j </i>and words defined according to the definition above are identical. In a test set of 107 thousand words, there are only 6 sentences of which the results are not identical.</p><subsubsection number="3.1.2" title="Generalized Word-String Ratio"><p>Although the CWS model can achieve relatively high performance. It fails to segment many in­stances of UWs correctly. This makes them hard to be extracted based on WSR.</p><p>In order to address this deficiency, we define a notion of generalized word, and we use the Gener­alized Word-String Ratio (GWSR) to extract UWs as a modified version of WSR. This idea is derived from Liu et al. (2008) and Zhang et al. (2010).</p><p>For convenience, the term "word" in the rest part of this subsection always refers to a string that is segmented as a word by CWS model.</p><p>We define a cost function of string <b>v </b>= ci • • • cj based on the confidence function:</p><doubt alpha="47.4" length="38" tooSmall="False" monospace="0.0">Cost(v)= max{0 — Confo, Confi— 0} (10)</doubt><p>If a string <b>v </b>is segmented as a single word, the cost function returns a non-positive value; other­wise, it returns a positive value. The larger this value is, the less likely this string can be regarded as a word.</p><p>Now we can define GWSR of string <b>v:</b></p><p>GWSRthXW(v)</p><doubt alpha="64.7" length="17" tooSmall="False" monospace="0.0">GWFth_LW(v) SF(v)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(11)</doubt><p>where the generalized word frequency GWFthxW(v) is the number of times that string v appears with Confo(v) &gt; Confi(v) and Cost(v) &lt; th_LW in a certain sentence. Here th_LW is a threshold.    The inequality</p><p>Conf<b>o(v) </b>&gt; Confi <b>(v) </b>should be always satisfied. Otherwise it will bring in noise.</p><p>Note that WF<b>(v) </b>= GWFo<b>(v) </b>means that when th_LW = 0 only words are regarded as generalized words.</p><p>The GWSR provides a way to allow UWs which are incorrectly segmented by the CWS model to be extracted. As a side effect, more noise may be brought in.</p></subsubsection></subsection><subsection number="3.2" title="Distributional Evidence"><p>The AV criterion is a method to extract UWs based on the distributional evidence. Here we propose a new version of the distribution-based criterion called restricted accessor variety (RAV) which is more suitable for the extraction from a large-scale corpus. We will describe this method and then dis­cuss the difference between RAV and AV.</p><p>The RAV method can be divided into two steps. First, we identify the restricted contexts that words tend to appear in. Second, we count the number of distinct restricted contexts that the string in ques­tion appears in.</p><p>We define a restricted accessor pair as a pair of words that has the ability to match the majority of words. First, we define the matching between a pair of words <b>(w</b>i, <b>wr </b>) and a string <b>v. </b>We say that <b>(w</b>i, <b>wr </b>) and <b>v </b>match if:</p><doubt alpha="45.5" length="11" tooSmall="False" monospace="0.0">t(w;,v, Wr)</doubt><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">f(v)</doubt><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">&gt; th_RAV</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(12)</doubt><p>where th_RAV is a threshold. f <b>(v) </b>is the num­ber of times that <b>v </b>appears as a word or a sequence of words in the corpus segmented by our CWS model. t<b>(wl, v, wr</b>) is the number of times that the string <b>v </b>appears right after <b>wl </b>and before <b>wr</b>where <b>wl </b>and <b>wr </b>are also segmented as words.</p><p>Given a dictionary, we can find m word pairs which are most likely to match words in the dic­tionary. These pairs construct a set of restricted accessor pairs <b>R.</b></p><p>The RAV of a string v is defined as the number of restricted accessor pairs that match this string:</p><doubt alpha="50.0" length="22" tooSmall="False" monospace="0.0">RAV(v)=£Vrav,.,(t(wf^)</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">(w,,wr)GRVf()7</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(13)</doubt><p>where Iüurm^oo) is an indicator function to in­dicate whether <b>(wl, wr </b>) and <b>v </b>match:</p><p>. .     f 1   x G [th_RAV, oo) 1[th_RAV,co)(x) = <b><i>{ </i></b>n <b><i>ul </i></b>.      '   <b><i>' </i></b>(14) 0 otherwise.</p><page local="5" global="841"/><p>The more restricted accessor pairs a string matches, the more likely it is a word.</p><p>Notice that the distribution-based method is usually used to measure the semantic distance be­tween words. In our approach, by setting m (the number of restricted accessor pairs) to a relatively small number, the restricted accessor pairs can match any UW, no matter what meaning the word has or what word category it belongs to. Exam­ples of the restricted accessor pairs will be shown in Section 4.3.</p><p>RAV is different from AV in at least four ways.</p><p>First, RAV is normalized. This prevents RAV from possible noise in the large-scale corpus. In such a corpus, a high frequency string tends to have more accessors which will bring noise to the AV criterion. In contrast, noise may be filtered out by a threshold in Eq. 13.</p><p>Second, RAV only considers restricted acces­sor pairs rather than any characters that precede or succeed the strings. This is also designed to fur­ther decrease the noise from a large-scale corpus.</p><p>Third, RAV does not need an ad hoc procedure to discard strings with adhesive characters, which prevents RAV from improperly discarding UWs. These adhesive characters in Chinese may also have the ability to be as a morpheme in a word. For example, "JÉ" can be used as a function mark fol­lowing an adverb, while it can also be a morpheme with the meaning "ground/territory" to form many UWs like "^ffi" (enclave, literally "flying terri­tory").</p><p>Last but not least, as RAV only concerns with a small number of restricted accessor pairs, RAV is more effective and efficient than AV in a large-scale corpus.</p></subsection><subsection number="3.3" title="Combine Morphological and Distribu-tional Evidences"><p>The morphological evidence and the distributional evidence represent the properties of different as­pects of the "wordhood". The morphology-based method concerns with the possible character se­quence that forms the string in question, and treats each occurrence of the string independently. The distribution-based method is not concerned with how a string is made up by characters, but with the context the string is in.</p><p>Evidence shows that these two methods are complementary; we expect to get a better perfor­mance by combining them. In this paper we only propose a simple way of linear combination. <b>4 Experiments</b></p></subsection><subsection number="4.1" title="Dataset and Evaluation Method"><p>A dictionary is needed to distinguish unknown words from known words. We used the same dic­tionary that Feng et al. (2004a) used. Totally 119,803 words in this downloaded dictionary are used as the known words.</p><p>SogouT corpus is an open and free large-scale Web corpus . This Web corpus was also used by Li and Sun (2009) in their semi-supervised CWS model. After certain process to remove non-text content such as the HTML tags, we obtained 119 million web pages consisting of 203 billion Chi­nese characters.</p><p>The whole corpus is denoted as LARGE. We sampled about one percent of these pages as a smaller corpus called MIDDLE, and further sam­pled about one percent of these pages in MID­DLE as SMALL. Corpora with different sizes are used to investigate how the size of the corpus influ­ences the performances of different UW extraction methods.</p><p>It is difficult to evaluate the performance of UW extraction directly on such a large corpus. We used a partial evaluation method similar to the method used by Feng et al. (2004a). We sampled 2000 sentences from a balanced corpus (YUWEI cor­pus) consisting of news articles, academic articles, textbook articles, novels and other types of texts. Various UWs appear in these sentences. Since Chinese words commonly consist of 2, 3 or 4 char­acters (Chang and Su, 1997), only strings with length of 2, 3 or 4 in these sentences are consid­ered as the UW candi-dates (strings in question). After filtering the strings that already appear in the dictionary, the remaining 111,536 strings are used as the test set.</p><p>In order to annotate these strings in the test set, we used the record of a Chinese input method soft­ware as an auxiliary data . We selected strings that are frequently inputted by users and manu­ally annotated 1,630 of them as UWs. The anno­tation may have bias because the low frequency words tend to be ignored for the manually anno­tation. But the annotation is still independent of these UW extraction methods we use. Some of the UWs are /hiifH (nickname of a Chinese general Bai Chongxi), ^IS^jjj: (methylene chloride), # ^ (to build in the winter by peasants in their slack season) and lifEp (official seal).<page local="6" global="842"/></p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">10</doubt><doubt alpha="100.0" length="1" tooSmall="True" monospace="0.0">O</doubt><doubt alpha="100.0" length="1" tooSmall="True" monospace="0.0">ü</doubt><doubt alpha="66.7" length="9" tooSmall="True" monospace="0.0">CDZ3 ö"CD</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">500</doubt><doubt alpha="28.6" length="14" tooSmall="False" monospace="0.0">1000 1500 rank</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">2000</doubt><figure caption="Figure 1: The frequencies of UWs in three corpora"></figure><p>Figure 1 is an overview of the frequencies of the UWs in the corpora we used. We can observe the differences between these corpora. A number of UWs even do not appear in the SMALL corpus, while most of the UWs appear with a frequency higher than 10,000 in the LARGE corpus.</p><p>We use precision and recall as the evaluation measures:</p><p>precision # of retrieved unknown words # of retrieved words # of annotated unknown words</p><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">recall</doubt><doubt alpha="0.0" length="9" tooSmall="False" monospace="0.0">(15) (16)</doubt><p>The precision-recall curves of every method are drawn for the comparison. For each of these methods, a single threshold can be used to con­trol the number of strings that are extracted. The precision-recall curves are drawn according to these thresholds.</p><p>Notice that in the evaluation, all the known words (words that are already in the dictionary) are not counted.</p></subsection><subsection number="4.2" title="Morphological Evidence: WSR and"><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">GWSR</doubt><p>In this subsection we describe the implementation of our character tagging based CWS model, and the experiment results of the WSR and GWSR methods.</p><p>Template</p><doubt alpha="58.9" length="56" tooSmall="False" monospace="0.0">ci—1ti,ci+1ti ci—2ci—lti, ci—1citi, cici+1ti, ci+1ci+2ti</doubt><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">ti—1ti</doubt><table caption="Table 1: The feature templates for the CWS model"></table><doubt alpha="0.0" length="23" tooSmall="False" monospace="0.0">0.8 0.7 0.6 0.5 0.4 0.3</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.2</doubt><doubt alpha="0.0" length="25" tooSmall="False" monospace="0.0">0.3      0.4      0.5 0.6</doubt><p>Figure 2: The precision-recall curves for WSR and GWSR on three corpora. The curves of GWSR on the SMALL and MIDDLE corpora are not showed due to the limitation of space.</p><p>The CWS model we use is based on the av­eraged perceptron (Collins, 2002). The features templates are listed in Table 1, which are similar to the templates used for a CRF-based model (Tseng et al., 2005).</p><p>The training set provided by Microsoft Re­search in SIGHAN bake-off 2005 (Emerson, 2005) is used to train our CWS model. The F-measure on the test set was 0.963. This is compa­rable with the reported best 0.964, which is from a</p><p>CRF-based model (Tseng et al., 2005).</p><p>Additional techniques were used to speed up the decoding of our CWS model. A modified double-array trie (Aoe et al., 1992) data structure was im­plemented to store and retrieve the feature values. Fix-point numbers (integer) rather than floating point numbers are used for the calculation with­out losing accuracy. With some other minor im­provements, the decoding speed of one process is up to 2 million characters per second. This makes it possible to segment the large-scale Web corpus on the fly.<footnote anchor="1"/></p><p>Since the WSR and GWSR for strings with low string frequency are not precise enough, we discard strings with low string frequency using the thresholds 0, 15 and 1,500 for the SMALL, MIDDLE and LARGE corpora, respectively. The threshold th_LW discussed in Section 3 for GWSR is set to 2.</p><figure caption="Figure 2 shows the precision-recall curves for WSR and GWSR on three corpora."></figure><p>On the SMALL corpus, the performance of<page local="7" global="843"/></p><footnote label="1">The modified version is available at http://code . google.com/p/perminusminus/</footnote><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">8</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">6</doubt><doubt alpha="100.0" length="1" tooSmall="True" monospace="0.0">Ü</doubt><doubt alpha="100.0" length="2" tooSmall="True" monospace="0.0">CD</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">4</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">2</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>—</b></p></td><td class="cell"><p>SMALL MIDDLE</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>- LARGE "</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>——.</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>-----</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>1</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></tr></table><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>-</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>WSR-SMALL WSR-MIDDLE</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>—</b></p></td><td class="cell"><p>— WSR-LARGE</p><p>— GWSR-LARGE</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></tr></table><p>precision</p><p>WSR is poor, for the majority of UWs appear with a low frequency or even do not appear in this cor­pus. On the MIDDLE corpus, the performance is better than the one on the SMALL corpus. But on the LARGE corpus, the performance improve­ment is not observable comparing to the perfor­mance on the MIDDLE corpus. The GWSR be­haves similarly to WSR when we enlarge the cor­pus. This phenomenon indicates that the methods based on the morphological evidence cannot ben­efit from a larger corpus if the frequencies of cor­responding strings are high enough.</p><p>Consider this with Figure 1, we find that a frequency of about 100 is enough for WSR and GWSR to determine whether the corresponding string is a word or not.</p><p>Now we compare GWSR with WSR on the LARGE corpus in Figure 2. GWSR has a better performance in the left part of the precision-recall curve but a poorer performance in the right part of this curve. We can say that GWSR has a better recall but a poorer precision, which is consistent with our discussion in Section 3.1. Comparing to WSR, the GWSR can extract more UWs, while it brings in more noise as a side effect. The advan­tage of simply using GWSR instead of WSR is not obvious.</p></subsection><subsection number="4.3" title="Distributional Evidence: AV and RAV"><p>The words used to induce the restricted accessor pairs set are all the known words that appear in the 2,000 sentences we sampled from YUWEI cor­pus. We induce a restricted accessor pairs set of 50 word pairs, which are most likely to match these words. Some of the pairs are (#,#), (#, fP), (fll, Ôtl) and # is used as a special word to denote the beginning and the end of a sentence.</p><p>Among these 50 word pairs, only 3 pairs contain words with 2 characters. Other words are all single character words. Nearly all the words are function words. f P (and), <i>3\</i><i> </i>(to), fft (a particle) and &amp; W ('no' or 'do not') which are in the pairs we showed are all frequently used function words.</p><p>We found that the word with the highest fre­quency in these pairs is which is consistent with the claim by Li and Sun (2009) that punctua­tion marks are useful for CWS.</p><p>All these pairs have the ability to match a ma­jority of words in different word categories or with different meanings. This result also benefits from the fact that Chinese words do not have inflection</p><doubt alpha="0.0" length="17" tooSmall="False" monospace="0.0">0 0.2 0.4 0.6 0.8</doubt><figure caption="Figure 3: precision-recall curves forAVand RAV on three corpora"></figure><p>and agglutination. For example, an adjective like (happy) can be used as a noun (happiness), a verb (be happy) or an adverb (happily) without changing the form.</p><p>We calculated AV and RAV for the strings in the test set on these three corpora. We found that RAV is more efficient than AV. According to the formulas, RAV only needs to assign a vector of 50 integers (we use 50 restricted accessor pairs in the experiments) for each string, while AV needs to assign a hash table for each string. Plus, the additional process for AV to discard strings with adhesive characters is also implemented according to the instruction in (Feng et al., 2004a).</p><p>Results are shown in Figure 3. Notice that the precision and recall for AV are lower than those reported by Feng et al. (2004a), for in our experi­ments the known words are not counted. Counting known words, the precision and recall are compa­rable with those reported by them.</p><p>We see that for both methods, larger size of the corpus improves the performances. We can even expect that more data can further enhance these methods.</p><p>AV and RAV behave differently when we en­large the corpus. On both the SMALL and MID­DLE corpus, the AV method is better than the RAV method, whereas on the LARGE corpus, RAV out­performs AV. The reason is that the RAV method strongly depends on the size of corpus. Even 1000 occurrences may not be enough for a relatively ac­curate RAV of a string. This characteristic is also quite different from the WSR and LWSR methods.</p><p>Thus RAV is more suitable than AV when we have a large-scale corpus. Plus RAV does not need an ad hoc process to discard strings with adhesive characters.<page local="8" global="844"/></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></p></td><td class="cell"><p></p></td><td class="cell"><p>AV-SMALL AV-MinniF</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>V</p></td><td class="cell"><p>V</p></td><td class="cell"><p><b>nV IVIIUULE</b></p><p>-AV-LARGE</p><p>....... RAV-SMALL -</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>\ \</b></p><p><b>-........\</b></p></td><td class="cell"><p><b>\......</b></p></td><td class="cell"><p>-----RAV-MIDDLE</p><p>-RAV-LARGE _</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p><p><b>• - K</b></p></td><td class="cell"><p>\\</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>:-\ \ - \</i></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>-</i></p><p><b>'; '-.V</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></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="4.4" title="Combine Morphological and Distribu-tional Evidences"><p>In this subsection we first show the differences of the errors made by the methods based on morpho­logical and distributional evidences, respectively. Then we combine these two kinds of methods and show that the performance will be further im­proved.</p><p>(G)WSR and RAV are based on different evi­dences. The errors of these methods are thus quite different.</p><p>Table 2 shows some non-words that are incor­rectly regarded as UWs by GWSR or RAV. Some non-words sun as MMS have high GWSR val­ues, for they tend to be segmented as words by the CWS models. But they may have low RAV values for they are hard to be used as single syn­tactic units. Multi-word compounds such as —f* have high RAV for they have similar distri­bution as words. But they may have low GWSR because the CWS model tends to segment them into smaller parts with high confidence.</p><p>We linearly combine the scores of the morpho­logical and distributional evidences. WSR and GWSR are used as the morphological evidence, respectively. For the AV method contains a filter­ing process, we cannot assign a value for every string. Only the RAV is used as the distributional evidence.</p><p>WSR and GWSR range from 0 to 1, while RAV ranges from 0 to 50. In our experiments, the weights for the morphological and distributional evidences are 50 and 0.8, respectively.</p><p>Two thick lines in Figure 4 show the perfor­mances of the combinations of the evidences. The precision of combing WSR and RAV (dashed thick line) is increased comparing to WSR. If we replace WSR by GWSR in the combined method</p><doubt alpha="13.6" length="66" tooSmall="False" monospace="0.0">0.1      0.2     0.3     0.4     0.5     0.6     0.7 0.8 precision</doubt><p>Figure 4: The combination of the morphological evidence and the distributional evidence on the LARGE corpus (solid thick line), the recall is further increased without observably losing the precision. So the combination of GWSR and RAV outperforms the combination of WSR and RAV.</p></subsection></section><section number="5" title="Conclusion"><p>We discussed two UW extraction methods, namely morphology based and distribution based methods. The WSR based on morphological ev­idence has a relative high performance, while it does not benefit from the use of a large-scale cor­pus. The performance of the accessor variety (AV) based on distributional evidence improves gradu­ally as we enlarge the corpus. We also proposed two extended methods. The method based on gen­eralized word-string ratio (GWSR) has higher re­call comparing to WSR. The restricted accessor variety (RAV) is specially designed for the large-scale web corpus in which the UWs are with high frequency.</p><p>Our methods outperformed the baselines, and the combination of the two methods can further improve the performance.</p><p>In the future, we will explore how to optimize the combination of GWSR and RAV to further im­prove UW extraction and the performance of the CWS models in general.</p></section><section title="Acknowledgments"><p>This work is suooprted by the Tsinghua-Boeing Joint Research Project.</p><p>The author would like to thank Dr. Zhiyuan Liu for his helpful discussion, and Jianzhi Zeng for the proofreading of this paper.</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><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></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>WSR GWSR</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>RAV</p><p>WSR+RAV</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>\</b></p></td><td class="cell"><p></p></td><td class="cell"><p>s.</p></td><td class="cell"><p></p></td><td class="cell"><p>GWSR+RAV ~</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>V.......</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>\</b></p><p><b>\</b></p></td><td class="cell"><p></p></td><td class="cell"><p>Y'"</p></td><td class="cell"><p>V</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Y</p><p><b>\</b></p></td><td class="cell"><p><b>\</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>1</p><p>\</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></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><table caption="Table 2: Some false positive examples for GWSR and RAV in the LARGE corpus" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Non-words</p></td><td class="cell"><p>GWSR</p></td><td class="cell"><p>RAV</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>MM^ (part of "MM^b")</p></td><td class="cell"><p>0.879</p></td><td class="cell"><p>6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>JM (off but)</p></td><td class="cell"><p>0.817</p></td><td class="cell"><p>2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>—4?JJ (in a book of)</p></td><td class="cell"><p>0.671</p></td><td class="cell"><p>10</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(a girl)</p></td><td class="cell"><p>0</p></td><td class="cell"><p>50</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>^^kiu^ </i>(experiment result)</p></td><td class="cell"><p>0</p></td><td class="cell"><p>49</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>/^fè-ÏE^ (to strictly check)</p></td><td class="cell"><p>0</p></td><td class="cell"><p>43</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><page local="9" global="845"/></section><references><p>J. Aoe, K. Morimoto, and T. Sato. 1992. An efficient implementation of trie structures. <i>Software: Prac­tice and Experience, </i>22(9):695-721, September.</p><p>J. S Chang and K. Y Su. 1997. An unsupervised it­erative method for Chinese new lexicon extraction.</p><p><i>International Journal of Computational Linguistics &amp; Chinese Language Processing, </i>1(1):101 - 157.</p><p>K. J. Chen and W. Y. Ma. 2002. Unknown word extraction for chinese documents. In <i>Proceedings of the 19th international conference on Computa­tional linguistics-Volume 1, </i>pages 1-7. Association for Computational Linguistics.</p><p>M. Collins. 2002. Discriminative training methods for hidden markov models: Theory and experiments with perceptron algorithms. In <i>Proceedings ofthe ACL-02 conference on Empirical methods in natu­ral language processing-Volume 10, </i>page 1-8.</p><p>T. Emerson. 2005. The second international chinese word segmentation bakeoff. In <i>Proceedings ofthe Fourth SIGHAN Workshop on Chinese Language Processing, </i>pages 123-133. Jeju Island, Korea.</p><p>H. Feng, K. Chen, X. Deng, and W. Zheng. 2004a. Ac­cessor variety criteria for chinese word extraction. <i>Computational Linguistics, </i>30(1):75-93.</p><p>H. Feng, K. Chen, C. Kit, and X. Deng. 2004b.</p><p>Unsupervised segmentation of chinese corpus us­ing accessor variety. <i>Natural Language Process­ing - IJCNLP 2004, </i>pages 694-703.</p><p>C. M Hong, C. M Chen, and C. Y Chiu. 2009. Auto­matic extraction of new words based on google news corpora for supporting lexicon-based chinese word segmentation systems. <i>Expert Systems with Appli­cations, </i>36(2):3641 - 3651.</p><p>W. Jiang, L. Huang, and Q. Liu. 2009. Automatic adaptation of annotation standards: Chinese word segmentation and POS tagging \|-a case study. In <i>Proceedings of the 47th ACL, </i>page 522 - 530, Sun-tec, Singapore, August. Association for Computa­tional Linguistics.</p><p>Z. Jin and K. Tanaka-Ishii. 2006. Unsupervised seg­mentation of chinese text by use of branching en­tropy. In <i>Proceedings ofthe COLING/ACL on Main conference poster sessions, </i>pages 428-435. Associ­ation for Computational Linguistics.</p><p>Z. Li and M. Sun. 2009. Punctuation as implicit an­notations for chinese word segmentation. <i>Computa­tional Linguistics, </i>35(4):505-512.</p><p>G. O.H.C Ling, M. Asahara, and Y. Matsumoto. 2003. Chinese unknown word identification us­ing character-based tagging and chunking. In <i>Pro­ceedings ofthe 41st Annual Meeting on Associa­tion for Computational Linguistics-Volume 2, </i>page 197 - 200.</p><p>Y. Liu, B. Wang, F. Ding, and S. Xu. 2008. Infor­mation retrieval oriented word segmentation based on character associative strength ranking. In <i>Pro­ceedings ofthe Conference on Empirical Methods in Natural Language Processing, </i>pages 1061-1069. Association for Computational Linguistics.</p><p>W. Y. Ma and K. J. Chen. 2003. A bottom-up merg­ing algorithm for chinese unknown word extraction.</p><p>In <i>Proceedings of the second SIGHAN workshop on Chinese language processing-Volume 17, </i>pages 31­38. Association for Computational Linguistics.</p><doubt alpha="65.2" length="46" tooSmall="False" monospace="0.0">A. McCallum and W. Li. 2003. Early results for</doubt><p>named entity recognition with conditional random fields, feature induction and web-enhanced lexicons.</p><p>In <i>Proceedings ofthe seventh conference on Natural language learning at HLT-NAACL 2003-Volume 4, </i>page 188 -191.</p><p>H. T. Ng and J. K. Low. 2004. Chinese part-of-speech tagging: one-at-a-time or all-at-once? word-based or character-based. In <i>Proc ofEMNLP.</i></p><p>F. Peng, F. Feng, and A. McCallum. 2004. Chinese segmentation and new word detection using condi­tional random fields. In <i>Proceedings of the 20th international conference on Computational Linguis­tics, </i>page 562. Association for Computational Lin­guistics.</p><p>M. Sun, D. Shen, and B. K Tsou. 1998. Chi­nese word segmentation without using lexicon and hand-crafted training data. In <i>Proceedings ofthe 17th international conference on Computational linguistics-Volume 2, </i>pages 1265-1271. Associa­tion for Computational Linguistics Morristown, NJ,</p><p>USA.</p><p>H. Tseng, P. Chang, G. Andrew, D. Jurafsky, and C. Manning. 2005. A conditional random field word segmenter for sighan bakeoff 2005. In <i>Pro­ceedings ofthe Fourth SIGHAN Workshop on Chi­nese Language Processing, </i>pages 168-171. Jeju Is­land, Korea.</p><p>N. Xue. 2003. Chinese word segmentation as charac­ter tagging. <i>Computational Linguistics and Chinese Language Processing, </i>8(1):29-48.</p><p>K. Zhang, M. Sun, and P. Xue. 2010. A local genera­tive model for chinese word segmentation. <i>Informa­tion Retrieval Technology, </i>pages 420-431.</p><p>H. Zhao and C. Kit. 2008. An empirical compari­son of goodness measures for unsupervised chinese word segmentation with a unified framework. In <i>The Third International Joint Conference on Natural Language Processing (IJCNLP-2008), Hyderabad, India.</i><i></i></p></references></body></article>