<?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="447"/><title>A Discriminative Candidate Generator for String Transformations</title><author surname="Okazaki" givenname="Naoaki"><org  name="University of Tokyo" country="Japan" city="Tokyo"/></author><author surname="Tsuruoka" givenname="Yoshimasa"><org  name="University of Tokyo" country="Japan" city="Tokyo"/></author><author surname="Ananiadou" givenname="Sophia"><org  name="University of Tokyo" country="Japan" city="Tokyo"/></author><author surname="Tsujii" givenname="Jun'ichi"><org  name="University of Tokyo" country="Japan" city="Tokyo"/></author></firstpageheader><frontmatter><p><b>A Discriminative Candidate Generator for String Transformations</b></p><p><b>Naoaki Okazaki<footnote anchor="1"/>" Yoshimasa Tsuruoka*</b></p><p>okazakigis.s.u-tokyo.ac.jp yoshimasa.tsuruoka@manchester.ac.uk</p><p><b>Sophia Ananiadou*</b></p><p>sophia.ananiadou@manchester.ac.uk</p><p><b>Jun'ichi Tsujiit*</b></p><p>tsujii@is.s.u-tokyo.ac.jp</p><p>^Graduate School of Information Science and Technology</p><p>University of Tokyo 7-3-1 Hongo, Bunkyo-ku Tokyo 113-8656, Japan</p><p>*School of Computer Science, University of Manchester National Centre for Text Mining (NaCTeM)</p><p>Manchester Interdisciplinary Biocentre 131 Princess Street, Manchester M1 7DN, UK</p></frontmatter><abstract><i>String transformation, </i>which maps a source string s into its desirable form t*, is related to various applications including stemming, lemmatization, and spelling correction. The essential and important step for string trans­formation is to generate candidates to which the given string s is likely to be transformed. This paper presents a discriminative approach for generating candidate strings. We use sub­string substitution rules as features and score them using an <i>L1 </i>-regularized logistic regres­sion model. We also propose a procedure to generate negative instances that affect the de­cision boundary of the model. The advantage of this approach is that candidate strings can be enumerated by an efficient algorithm be­cause the processes of string transformation are tractable in the model. We demonstrate the remarkable performance of the proposed method in normalizing inflected words and spelling variations. </abstract></header><body><section number="1" title="Introduction"><p><i>String transformation </i>maps a source string s into its destination string t*. In the broad sense, string trans­formation can include labeling tasks such as part-of-speech tagging and shallow parsing (Brill, 1995). However, this study addresses string transformation in its narrow sense, in which a part of a source string is rewritten with a substring. Typical applications of this task include stemming, lemmatization, spelling correction (Brill and Moore, 2000; Wilbur et al., 2006; Carlson and Fette, 2007), OCR error correc­tion (Kolak and Resnik, 2002), approximate string matching (Navarro, 2001), and duplicate record de­tection (Bilenko and Mooney, 2003).</p><p>Recent studies have formalized the task in the dis­criminative framework (Ahmad and Kondrak, 2005; Li et al., 2006; Chen et al., 2007),</p><doubt alpha="43.5" length="23" tooSmall="False" monospace="0.0">t* = argmax P (t|s).(1)</doubt><p>tGgen(s)</p><p>Here, the <i>candidate generator </i>gen(s) enumerates candidates of destination (correct) strings, and the <i>scorer P</i>(t|s) denotes the conditional probability of the string t for the given s. The scorer was modeled by a noisy-channel model (Shannon, 1948; Brill and Moore, 2000; Ahmad and Kondrak, 2005) and max­imum entropy framework (Berger et al., 1996; Li et al., 2006; Chen et al., 2007).</p><p>The candidate generator gen(s) also affects the accuracy of the string transformation. Previous stud­ies of spelling correction mostly defined gen(s),</p><doubt alpha="38.7" length="31" tooSmall="False" monospace="0.0">gen(s) = {t|dist(s, t) &lt; ö}.(2)</doubt><p>Here, the function dist(s,t) denotes the weighted Levenshtein distance (Levenshtein, 1966) between strings s and t. Furthermore, the threshold ö requires the distance between the source string s and a can­didate string t to be less than ö.</p><p>The choice of dist(s, t) and ö involves a tradeoff between the precision, recall, and training/tagging speed of the scorer. A less restrictive design of these factors broadens the search space, but it also in­creases the number of confusing candidates, amount of feature space, and computational cost for the scorer. Moreover, the choice is highly dependent on the target task. It might be sufficient for a spelling</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">447</doubt><p><i>Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing, </i>pages 447-456, Honolulu, October 2008. ©2008 Association for Computational Linguistics<page local="2" global="448"/></p><p>correction program to gather candidates from known words, but a stemmer must handle unseen words ap­propriately. The number of candidates can be huge when we consider transformations from and to un­seen strings.</p><p>This paper addresses these challenges by explor­ing the discriminative training of candidate genera­tors. More specifically, we build a binary classifier that, when given a source string s, decides whether a candidate t should be included in the candidate set or not. This approach appears straightforward, but it must resolve two practical issues. First, the task of the classifier is not only to make a binary decision for the two strings s and t, but also to enumerate a set of positive strings for the string s, gen(s) = {t | predict(s,t) = 1}.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(3)</doubt><p>In other words, an efficient algorithm is necessary to find a set of strings with which the classifier predict(s, t) yields positive labels for the string s.</p><p>Another issue arises when we prepare a training set. A discriminative model requires a training set in which each instance (pair of strings) is annotated with a positive or negative label. Even though some existing resources (e.g., inflection table and query log) are available for positive instances, such re­sources rarely contain negative instances. Therefore, we must generate negative instances that are effec­tive for discriminative training.</p><p>To address the first issue, we design features that express transformations from a source string s to its destination string t. Feature selection and weight­ing are performed using an Li-regularized logistic regression model, which can find a sparse solution to the classification model. We also present an al­gorithm that utilizes the feature weights to enumer­ate candidates of destination strings efficiently. We deal with the second issue by generating negative instances from unlabeled instances. We describe a procedure to choose negative instances that affect the decision boundary of the classifier.</p><p>This paper is organized as follows. Section 2 for­malizes the task of the candidate generator as a bi­nary classification modeled by logistic regression. Features for the classifier are designed using the rules of substring substitution. Therefore, we can obtain, efficiently, candidates of destination strings and negative instances for training. Section 3 re­ports the remarkable performance of the proposed method in various applications including lemmati-zation, spelling normalization, and noun derivation. We briefly review previous work in Section 4, and conclude this paper in Section 5.</p></section><section number="2" title="Candidate generator"><subsection number="2.1" title="Candidate classification model"><p>In this section, we first introduce a binary classifier that yields a label y G {0,1} indicating whether a candidate t should be included in the candidate set (1) or not (0), given a source string s. We express the conditional probability P(y|s, t) using a logistic regression model,</p><doubt alpha="27.3" length="11" tooSmall="False" monospace="0.0">P (1|s,t) =</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="44.4" length="18" tooSmall="False" monospace="0.0">1 +exp(-ATF(s,t)):</doubt><p>P(0|s,t) = 1 - P(1|s,t).</p><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">(4) (5)</doubt><p>In these equations, F = <i>fK}</i><i> </i>denotes a vector of the Boolean feature functions; K is the num­ber of feature functions; and A = {A1,...,AK} presents a weight vector of the feature functions.</p><p>We obtain the following decision rule to choose the most probable label y* for a given pair (s, t),</p><doubt alpha="53.6" length="28" tooSmall="False" monospace="0.0">y*= argmax P(y| s, t)ye{Q,i}</doubt><doubt alpha="42.4" length="33" tooSmall="False" monospace="0.0">'1 (ATF(s,t) &gt; 0) 0   (otherwise)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(6)</doubt><p>Finally, given a source string s, the generator func­tion gen(s) is defined to collect all strings to which the classifier assigns positive labels:</p><doubt alpha="34.4" length="32" tooSmall="False" monospace="0.0">gen(s) = {t | P(1|s,t)&gt;P(0|s,t)}</doubt><p>= {t | ATF(s,t) &gt; 0}.</p></subsection><subsection number="2.2" title="Substitution rules as features"><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><p>The binary classifier can include any arbitrary fea­ture. This is exemplified by the Levenshtein dis­tance and distributional similarity (Lee, 1999) be­tween two strings s and t. These features can im­prove the classification accuracy, but it is unrealistic to compute these features for every possible string, as in equation 7. For that reason, we specifically examine <i>substitution rules, </i>with which the process<page local="3" global="449"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">448</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">(1)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><p>S: Aoestrogen$ t: Aestrogen$</p><p>S: Aanaemia$ t: Aanemia$</p><p>S: Astudies$ t: Astudy$ ('Aoe',  'Ae'), ('Aoes',  'Aes'), ...</p><doubt alpha="35.7" length="28" tooSmall="False" monospace="0.0">Co', "),CAo',,A'),Coe','e'),</doubt><doubt alpha="25.9" length="85" tooSmall="False" monospace="0.0">('a',  ''), ('na',  'n'), ('ae', 'e'), ('ana',  'an'), ('nae',  'ne'), ('aem', 'em'),</doubt><doubt alpha="34.1" length="82" tooSmall="False" monospace="0.0">('ies', 'y'), ('dies', 'dy'), ('ies$', 'y$'), ('udies',  'udy'), ('dies$', 'dy$'),</doubt><figure caption="Figure 1: Generating substitution rules."></figure><p>of transforming a source string s into its destination form t is tractable.</p><p>In this study, we assume that every string has a prefix ' " ' and postfix ' $ ', which indicate the head and tail of a string. A substitution rule r = (a, ß) replaces every occurrence of the substring a in a source string into the substring ß. Assuming that a string s can be transformed into another string t with a single substitution operation, substitution rules ex­press the different portion between strings s and t.</p><p>Equation 8 defines a binary feature function with a substitution rule between two strings s and t, 1 (rule rk can convert s into t) 0   ( otherwise)</p><doubt alpha="44.4" length="9" tooSmall="False" monospace="0.0">fk(s,t) =</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(8)</doubt><p>We allow multiple substitution rules for a given pair of strings. For instance, substitution rules (' a', ''), ('na', 'n'), ('ae', 'e'), ('nae', 'ne'), etc. form feature functions that yield 1 for strings s = '"anaemia$' and t = '"anemia$'. Equation 6 produces a decision based on the sum of feature weights, or scores of substitution rules, representing the different portions between s and t.</p><p>Substitution rules for the given two strings s and t are obtained as follows. Let l denote the longest common prefix between strings s and t, and r the longest common postfix. We define cs as the sub­string in s that is not covered by the longest common prefix l and postfix r, and define ct for t analogously. In other words, strings s and t are divided into three regions, 1csr and 1ctr, respectively. For strings s = '"anaemia$' and t = '"anemia$' in Figure 1 (2), we obtain cs = 'a' and ct = '' because l = ' "an' and r = 'emia$'.</p><p>Because substrings cs and ct express different portions between strings s and t, we obtain the <i>mini-</i> <i>mum substitution rule </i>(cs, ct), which can convert the string s into t by replacing substrings cs in s with ct; the minimum substitution rule for the same ex­ample is ('a', ''). However, replacing letters 'a' in '"anaemia$' into empty letters does not pro­duce the correct string '"anemia$' but '"nemi$'. Furthermore, the rule might be inappropriate for ex­pressing string transformation because it always re­moves the letter ' a' from every string.</p><p>Therefore, we also obtain <i>expanded substitution rules, </i>which insert postfixes of l to the head of min­imum substitution rules, and/or append prefixes of r to the rules. For example, we find an expanded substitution rule ('na', 'n'), by inserting a postfix of l = '"an' to the head of the minimum substitu­tion rule ('a', ''); similarly, we obtain an expanded substitution rule ('ae', 'e'), by appending a prefix of r = 'emia$' to the tail of the rule ('a', '').</p><p>Figure 1 displays examples of substitution rules (the right side) for three pairs of strings (the left side). Letters in blue, green, and red respectively represent the longest common prefixes, longest com­mon postfixes, and different portions. In this study, we expand substitution rules such that the number of letters in rules is does not pass a threshold <i>9l</i>.</p></subsection><subsection number="2.3" title="Parameter estimation"><p>Given <i>a </i>training set that consists of N instances, D = ((s(1),t(1),y(1)),..., (s(N),t(N),y(N))), we optimize the feature weights in the logistic regres­sion model by maximizing the log-likelihood of the conditional probability distribution,</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">N</doubt><p>La = £log P (y(i)|s(i),t(i)).</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(9)</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">i=1</doubt><p>The partial derivative of the log-likelihood with re­spect to a feature weight Ak is given as equation 10, = E {y(i) - p (1|s(t),tw)} fk (s(i),t(i)).</p><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">&lt;9Ak</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(10)</doubt><p>The maximum likelihood estimation (MLE) is known to suffer from overfitting the training set. The<page local="4" global="450"/></p><footnote label="1">The number of letters for a substitution rule r = (a, ß) is defined as the sum of the quantities of letters in a and ß, i.e., |a| + |ß|. We determined the threshold 9 = 12 experimentally.</footnote><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">449</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="0.0" length="18" tooSmall="False" monospace="0.0">2 3 4 5 6 7 8 9 10</doubt><doubt alpha="0.0" length="14" tooSmall="False" monospace="0.0">11 12 13 14 15</doubt><p><b>Input: </b>s = (si,s;): an input string s (series of letters) <b>Input: </b>D: a trie dictionary containing positive features <b>Output: </b>T: gen(s)</p><doubt alpha="16.7" length="12" tooSmall="False" monospace="0.0">T= {};U= {};</doubt><doubt alpha="55.0" length="20" tooSmall="False" monospace="0.0">foreachi € (1,|s|)do</doubt><p><b><i>F — </i></b>D.prefix_search(s,i) ; <b>foreach </b>f € F <b>do if </b>f € U <b>then</b></p><doubt alpha="63.2" length="38" tooSmall="False" monospace="0.0">t — f.apply(s) ;ifclassify(s, t)=1then</doubt><p><b>I    </b>add t to T ; <b>end</b></p><doubt alpha="63.6" length="11" tooSmall="False" monospace="0.0">add f to U;</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">end</doubt><doubt alpha="85.7" length="7" tooSmall="False" monospace="0.0">end end</doubt><p><b>return </b>T;</p><p>common approach for addressing this issue is to use the maximum a posteriori (MAP) estimation, intro­ducing a regularization term of the feature weights <b>A, </b>i.e., a penalty on large feature weights. In addi­tion, the generation algorithm of substitution rules might produce inappropriate rules that transform a string incorrectly, or overly specific rules that are used scarcely. Removing unnecessary substitution rules not only speeds up the classifier but also the algorithm for candidate generation, as presented in Section 2.4.</p><p>In recent years, L1 regularization has received in­creasing attention because it produces a sparse so­lution of feature weights in which numerous fea­ture weights are zero (Tibshirani, 1996; Ng, 2004). Therefore, we regularize the log-likelihood with the L1 norm of the weight vector <b>A </b>and define the final form the objective function to be minimized as</p><doubt alpha="35.7" length="14" tooSmall="False" monospace="0.0">Ea=-La+—.(11)a</doubt><p>Here, a is a parameter to control the effect of L1regularization; the smaller the value we set to a, the more features the MAP estimation assigns zero weights to: it removes a number of features from the model. Equation 11 is minimized using the Orthant-Wise Limited-memory Quasi-Newton (OW-LQN) method (Andrew and Gao, 2007) because the second term of equation 11 is not differentiable at Ak = 0.</p></subsection><subsection number="2.4" title="Candidate generation"><p>The advantage of our feature design is that we can enumerate strings to which the classifier is likely to assign positive labels. We start by observing the nec­essary condition for t in equation 7, <b>AT F </b>(s, t) &gt; 0     3fc : fk (s, t) = 1 A Ak &gt; 0.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(12)</doubt><p>The classifier might assign a positive label to strings s and t when at least one feature function whose weight is positive can transform s to t.</p><p>Let R+ be a set of substitution rules to which MAP estimation has assigned positive feature weights. Because each feature corresponds to a sub­stitution rule, we can obtain gen(s) for a given string s by application of every substitution rule r G R+, gen(s) = {r(s) | r G R+ A <b>ATF </b>(s, r(s)) &gt; 0}.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(13)</doubt><p>Algorithm 1: A pseudo-code for gen(s).</p><p>Here, r(s) presents the string to which the substitu­tion rule r transforms the source string s. We can compute gen(s) with a small computational cost if the MAP estimation with L1 regularization reduces the number of active features.</p><p>Algorithm 1 represents a pseudo-code for obtain­ing gen(s). To search for positive substitution rules efficiently, the code stores a set of rules in a trie structure. In line 4, the code obtains a set of positive substitution rules F that can rewrite substrings start­ing at offset #i in the source string s. For each rule f G F, we obtain a candidate string t by application of the substitution rule f to the source string s (line 7). The candidate string t is qualified to be included in gen(s) when the classifier assigns a positive label to strings s and t (lines 8 and 9). Lines 6 and 11 pre­vent the algorithm from repeating evaluation of the same substitution rule.</p></subsection><subsection number="2.5" title="Generating negative instances"><p>The parameter estimation requires a training set D in which each instance (pair of strings) is annotated with a positive or negative label. Negative instances (counter examples) are essential for penalizing in­appropriate substitution rules, e.g. ('a', ''). Even though some existing resources (e.g. verb inflection table) are available for positive instances, such re­sources rarely contain negative instances.</p><p>A common approach for handling this situation is to assume that every pair of strings in a resource<page local="5" global="451"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">450</doubt><p>Algorithm 2: Generating negative instances.</p><p>is a negative instance; however, negative instances amount to ca. <i>V(V</i><i> </i><i>—</i><i> </i>l)/2, where V represents the total number of strings. Moreover, substitution rules expressing negative instances are innumerable and sparse because the different portions are peculiar to individual negative instances. For instance, the min­imum substitution rule for unrelated words <i>anaemia </i>and <i>around </i>is ('naemia', 'round'), but the rule cannot be too specific to generalize the conditions for other negative instances.</p><p>In this study, we generate negative instances so that they can penalize inappropriate rules and settle the decision boundary of the classifier. This strat­egy is summarized as follows. We consider every pair of strings as candidates for negative instances. We obtain substitution rules for the pair using the same algorithm as that described in Section 2.2 if a string pair is not included in the dictionary (i.e., not in positive instances). The pair is used as a nega­tive instance only when any substitution rule gener­ated from the pair also exists in the substitution rules generated from positive instances.</p><p>Algorithm 2 presents the pseudo-code that imple­ments the strategy for generating negative instances efficiently. First, we presume that we have positive instances D+ = <i>[(s\,t\</i>),<i>(si,</i><i> </i><i>ti)]</i><i> </i>and unlabeled strings V. For example, positive instance D+ repre­sent orthographic variants, and unlabeled strings <i>V </i>include all possible words (vocabulary). We insert the vocabulary into a suffix array, which is used to locate every occurrence of substrings in <i>V.</i></p><p>The algorithm first generates substitution rules R only from positive instances D+ (lines 3 to 7). For each substitution rule r G R, we enumerate known strings S that contain the source substring <i>r.src </i>(line 9). We apply the substitution rule to each string s G <i>S </i>and obtain its destination string <i>t </i>(line 11). If the pair of strings (s, t) is not included in D+ (line 12), and if the destination string <i>t </i>is known (line 13), the substitution rule <i>r </i>might associate incorrect strings s and t, which do not exist in D+. Therefore, we insert the pair to the negative set D- (line 14).</p></subsection></section><section number="3" title="Evaluation 3.1 Experiments"><p>We evaluated the candidate generator using three different tasks: normalization of orthographic vari­ants, noun derivation, and lemmatization. The datasets for these tasks were obtained from the <i>UMLS SPECIALIST Lexicon<footnote anchor="2"/>, </i>a large lexicon that includes both commonly occurring English words and biomedical vocabulary. Table 1 displays the list of tables in the SPECIALIST Lexicon that were used in our experiments. We prepared three datasets, <i>Or­thography, Derivation, </i>and <i>Inflection.</i></p><p>The Orthography dataset includes spelling vari­ants (e.g., <i>color </i>and <i>colour) </i>in the LRSPL table. We chose entries as positive instances in which spelling variants are caused by (case-insensitive) alphanu­meric changes<footnote anchor="3"/>.<page local="6" global="452"/> The Derivation dataset was built di­rectly from the LRNOM table, which includes noun derivations such as <i>abandon — abandonment. </i>The LRAGR table includes base forms and their inflec­tional variants of nouns (singular and plural forms), verbs (infinitive, third singular, past, past participle forms, etc), and adjectives/adverbs (positive, com­parative, and superlative forms). For the Inflection dataset, we extracted the entries in which inflec­tional forms differ from their base forms<footnote anchor="4"/>, e.g., <i>study — studies.</i></p><footnote label="2">UMLS SPECIALIST Lexicon: http://specialist.nlm.nih.gov/</footnote><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">451</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><b>Input: </b>D+</p></td><td class="cell"><p>= [(si, ti),(s;,t;)]: positive instances</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>Input: </b>V: a suffix array of all strings (vocabulary)</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>Output: </b>D-</p></td><td class="cell"><p>: negative instances</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>Output: </b>R: substitution rules (features)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>1</b></p></td><td class="cell"><p>v- <b><i>=</i></b></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><b>2</b></p></td><td class="cell"><p><b><i>R = </i></b>{};</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>3</b></p></td><td class="cell"><p><b>foreach </b>d G D+ <b>do</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>4</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>foreach </b>r G features(d) <b>do</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>5</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>add r to R;</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>6</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>end</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>7</b></p></td><td class="cell"><p><b>end</b></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><b>8</b></p></td><td class="cell"><p><b>foreach </b>r G R <b>do</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>9</b></p></td><td class="cell"><p></p></td><td class="cell"><p>S</p></td><td class="cell"><p>— V.search(r.src) ;</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>10</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>foreach </b><b><i>s G S </i></b><b>do</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>11</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>t</p></td><td class="cell"><p>— r.apply(s) ;</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>12</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>if </b>(s,t) G D+ <b>then</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>13</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><b>if</b>t  V <b>then</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>14</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><b>1    </b>append (s, t) to D-;</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>15</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><b>end</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>16</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>end</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>17</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>end</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>18</b></p></td><td class="cell"><p><b>end</b></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><b>19</b></p></td><td class="cell"><p><b>return </b>D , R;</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 caption="Table 1: Excerpt of tables in the SPECIALIST Lexicon." 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><b>Table</b></p></td><td class="cell"><p><b>Description</b></p></td><td class="cell"><p><b># Entries</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LRSPL</p></td><td class="cell"><p>Spelling variants</p></td><td class="cell"><p>90,323</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LRNOM</p></td><td class="cell"><p>Nominalizations (derivations)</p></td><td class="cell"><p>14,029</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LRAGR</p></td><td class="cell"><p>Agreement and inflection</p></td><td class="cell"><p>910,854</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LRWD</p></td><td class="cell"><p>Word index (vocabulary)</p></td><td class="cell"><p>850,236</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><table caption="Table 2: Characteristics of datasets." 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><b>Data set</b></p></td><td class="cell"><p><b># +</b></p></td><td class="cell"><p><b>#-</b></p></td><td class="cell"><p><b># Rules</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Orthography</p><p>Derivation</p><p>Inflection</p></td><td class="cell"><p>15,830 12,988 113,215</p></td><td class="cell"><p>33,296 85,928 124,747</p></td><td class="cell"><p>11,098 5,688 32,278</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><p>For each dataset, we applied the algorithm de­scribed in Section 2.5 to generate substitution rules and negative instances. Table 2 shows the number of positive instances (# +), negative instances (# -), and substitution rules (# Rules). We evaluated the per­formance of the proposed method in two different goals of the tasks: classification (Section 3.2) and normalization (Section 3.3).</p><subsection number="3.2" title="Experiment 1: Candidate classification"><p>In this experiment, we measured the performance of the classification task in which pairs of strings were assigned with positive or negative labels. We trained and evaluated the proposed method by performing ten-fold cross validation on each dataset<footnote anchor="5"/>. Eight baseline systems were prepared for comparison: Levenshtein distance (LD), nor­malized Levenshtein distance (NLD), Dice coef­ficient on letter bigrams (DICE) (Adamson and Boreham, 1974), Longest Common Substring Ra­tio (LCSR) (Melamed, 1999), Longest Common Prefix Ratio (PREFIX) (Kondrak, 2005), Porter's stemmer (Porter, 1980), Morpha (Minnen et al., 2001), and CST's lemmatiser (Dalianis and Jongejan, 2006)<footnote anchor="6"/>.</p><footnote label="3">LRSPL table includes trivial spelling variants that can be handled using simple character/string operations. For example, the table contains spelling variants related to case sensitivity (e.g., deg and Deg) and symbols (e.g., Feb and Feb.).</footnote><footnote label="4">LRAGR table also provides agreement information even when word forms do not change. For example, the table con­tains an entry indicating that the first-singular present form of the verb study is study, which might be readily apparent to En­glish speakers.</footnote><footnote label="5">We determined the regularization parameter a = 5 experi­mentally. Refer to Figure 2 for the performance change.</footnote><p>The five systems LD, NLD, DICE, LCSR, and PREFIX employ corresponding metrics of string distance or similarity. Each system assigns a posi­tive label to a given pair of strings (s, t) if the dis­tance/similarity of strings <i>s </i>and <i>t </i>is smaller/larger than the threshold ö (refer to equation 2 for distance metrics). The threshold of each system was chosen so that the system achieves the best F1 score.</p><p>The remaining three systems assign a positive la­bel only if the system transforms the strings <i>s </i>and <i>t </i>into the identical string. For example, a pair of two words <i>studies </i>and <i>study </i>is classified as positive by Porter's stemmer, which yields the identical stem <i>studi </i>for these words. We trained CST's lemmatiser for each dataset to obtain flex patterns that are used for normalizing word inflections.</p><p>To examine the performance of the <i>L\-</i>regularized logistic regression as a discriminative model, we also built two classifiers based on the Support Vector Machine (SVM). These SVM classifiers were implemented by the SVMperf <footnote anchor="7"/> on a linear kernel<footnote anchor="8"/>. An SVM classifier employs the same feature set (substitution rules) as the proposed method so that we can directly compare the <i>L\-</i>regularized logistic regression and the linear-kernel SVM. Another SVM classifier incorporates the five string metrics; this system can be considered as our reproduction of the discriminative string similarity proposed by Bergsma and Kondrak (2007).</p><p>Table 3 reports the precision (P), recall (R), and F1 score (F1) based on the number of correct de­cisions for positive instances. The proposed method outperformed the baseline systems, achieving 0.919, 0.888, and 0.984 of F1 scores, respectively. Porter's stemmer worked on the Inflection set, but not on the Orthography set, which is beyond the scope of the stemming algorithms. CST's lemmatizer suf­fered from low recall on the Inflection set because it removed suffixes of base forms, e.g., <i>(cloning, clone) — (clone, clo). </i>Morpha and CST's lemmatizer were not designed for orthographic variants and noun derivations.<page local="7" global="453"/></p><footnote label="6">We used CST's lemmatiser version 2.13: http://www.cst.dk/online/lemmatiser/uk/  index.html</footnote><footnote label="7">SVM for Multivariate Performance Measures (SVM perf ): http://svmlight.joachims.org/svm_perf.html</footnote><footnote label="8">We determined the parameter C = 500 experimentally; it controls the tradeoff between training error and margin.</footnote><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">452</doubt><p>Levenshtein distance (S = 1) did not work for the Derivation set because noun derivations often append two or more letters (e.g., <i>happy — happi­ness). </i>No string similarity/distance metrics yielded satisfactory results. Some metrics obtained the best F1 scores with extreme thresholds only to classify every instance as positive. These results imply the difficulty of the string metrics for the tasks.</p><p>The <i>L1</i>-regularized logistic regression was com­parable to the SVM with linear kernel in this exper­iment. However, the presented model presents the advantage that it can reduce the number of active features (features with non-zero weights assigned); the Li regularization can remove 74%, 48%, and 82% of substitution rules in each dataset. The performance improvements by incorporating string metrics as features were very subtle (less than 0.7%).</p><p>What is worse, the distance/similarity metrics do not specifically derive destination strings to which the classifier is likely to assign positive labels. There­fore, we can no longer use the efficient algorithm as a candidate generator (in Section 2.4) with these features.</p><p>Table 4 demonstrates the ability of our approach to obtain effective features; the table shows the top 10 features with high weights assigned for the Or­thography data. An interesting aspect of the pro­posed method is that the process of the orthographic variants is interpretable through the feature weights.</p><p>Figure 2 shows plots of the F1 scores (y-axis) for the Inflection data when we change the number of active features (x-axis) by controlling the regular-ization parameter <i>a </i>from 0.001 to 100. The larger the value we set for a, the better the classifier per­forms, generally, with more active features. In ex­treme cases, the number of active features drops to 97 with <i>a = </i>0.01; nonetheless, the classifier still achieves 0.961 of the F1 score. The result suggests that a small set of substitution rules can accommo­date most cases of inflectional variations.</p></subsection><subsection number="3.3" title="Experiment 2: String transformation"><p>The second experiment examined the performance of the string normalization tasks formalized in equa­tion 1. In this task, a system was given a string s and was required to yield either its transformed form t* <i>(s</i><i> </i><i>=</i><i> </i><i>t*)</i><i> </i>or the string s itself when the transforma­tion is unnecessary for <i>s.</i><i> </i>The conditional probabil­ity distribution (scorer) in equation 1 was modeled by the maximum entropy framework.<page local="8" global="454"/> Features for the maximum entropy model consist of: substitution rules between strings <i>s</i><i> </i>and <i>t,</i><i> </i>letter bigrams and tri-grams in <i>s,</i><i> </i>and letter bigrams and trigrams in <i>t.</i></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">453</doubt><table caption="Table 3: Performance of candidate classification" 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><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><b>System</b></p></td><td class="cell"><p><b>Orthography</b></p></td><td class="cell"><p><b>Derivation</b></p></td><td class="cell"><p><b>Inflection</b></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>P</b></p></td><td class="cell"><p><b>R</b></p></td><td class="cell"><p><b>F1</b></p></td><td class="cell"><p><b>P</b></p></td><td class="cell"><p><b>R</b></p></td><td class="cell"><p><b>F1</b></p></td><td class="cell"><p><b>P</b></p></td><td class="cell"><p><b>R</b></p></td><td class="cell"><p><b>F1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Levenshtein distance (S <i>= </i>1)</p></td><td class="cell"><p>.319</p></td><td class="cell"><p>.871</p></td><td class="cell"><p>.467</p></td><td class="cell"><p>.004</p></td><td class="cell"><p>.006</p></td><td class="cell"><p>.005</p></td><td class="cell"><p>.484</p></td><td class="cell"><p>.679</p></td><td class="cell"><p>.565</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Levenshtein distance</p></td><td class="cell"><p>.323</p></td><td class="cell"><p>.999</p></td><td class="cell"><p>.488</p></td><td class="cell"><p>.131</p></td><td class="cell"><p>1.00</p></td><td class="cell"><p>.232</p></td><td class="cell"><p>.479</p></td><td class="cell"><p>.988</p></td><td class="cell"><p>.646</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Normalized Levenshtein distance</p></td><td class="cell"><p>.441</p></td><td class="cell"><p>.847</p></td><td class="cell"><p>.580</p></td><td class="cell"><p>.133</p></td><td class="cell"><p>.990</p></td><td class="cell"><p>.235</p></td><td class="cell"><p>.598</p></td><td class="cell"><p>.770</p></td><td class="cell"><p>.673</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dice coefficient (letter bigram)</p></td><td class="cell"><p>.401</p></td><td class="cell"><p>.918</p></td><td class="cell"><p>.558</p></td><td class="cell"><p>.137</p></td><td class="cell"><p>.984</p></td><td class="cell"><p>.240</p></td><td class="cell"><p>.476</p></td><td class="cell"><p>1.00</p></td><td class="cell"><p>.645</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LCSR</p></td><td class="cell"><p>.322</p></td><td class="cell"><p>1.00</p></td><td class="cell"><p>.487</p></td><td class="cell"><p>.156</p></td><td class="cell"><p>.841</p></td><td class="cell"><p>.263</p></td><td class="cell"><p>.476</p></td><td class="cell"><p>1.00</p></td><td class="cell"><p>.645</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PREFIX</p></td><td class="cell"><p>.418</p></td><td class="cell"><p>.927</p></td><td class="cell"><p>.576</p></td><td class="cell"><p>.140</p></td><td class="cell"><p>.943</p></td><td class="cell"><p>.244</p></td><td class="cell"><p>.476</p></td><td class="cell"><p>1.00</p></td><td class="cell"><p>.645</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Porter stemmer (Porter, 1980)</p></td><td class="cell"><p>.084</p></td><td class="cell"><p>.074</p></td><td class="cell"><p>.079</p></td><td class="cell"><p>.197</p></td><td class="cell"><p>.846</p></td><td class="cell"><p>.320</p></td><td class="cell"><p>.926</p></td><td class="cell"><p>.839</p></td><td class="cell"><p>.881</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Morpha (Minnen et al., 2001)</p></td><td class="cell"><p>.009</p></td><td class="cell"><p>.007</p></td><td class="cell"><p>.008</p></td><td class="cell"><p>.012</p></td><td class="cell"><p>.022</p></td><td class="cell"><p>.016</p></td><td class="cell"><p>.979</p></td><td class="cell"><p>.836</p></td><td class="cell"><p>.902</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CST's lemmatiser (Dalianis et al. 2006)</p></td><td class="cell"><p>.119</p></td><td class="cell"><p>.008</p></td><td class="cell"><p>.016</p></td><td class="cell"><p>.383</p></td><td class="cell"><p>.682</p></td><td class="cell"><p>.491</p></td><td class="cell"><p>.821</p></td><td class="cell"><p>.176</p></td><td class="cell"><p>.290</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Proposed method</p></td><td class="cell"><p>.941</p></td><td class="cell"><p>.898</p></td><td class="cell"><p>.919</p></td><td class="cell"><p><b>.896</b></p></td><td class="cell"><p>.880</p></td><td class="cell"><p>.888</p></td><td class="cell"><p><b>.985</b></p></td><td class="cell"><p>.986</p></td><td class="cell"><p><b>.984</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Substitution rules trained with SVM</p></td><td class="cell"><p>.943</p></td><td class="cell"><p>.890</p></td><td class="cell"><p>.916</p></td><td class="cell"><p>.894</p></td><td class="cell"><p><b>.886</b></p></td><td class="cell"><p><b>.890</b></p></td><td class="cell"><p>.980</p></td><td class="cell"><p><b>.987</b></p></td><td class="cell"><p>.983</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ LD, NLD, DICE, LCSR, PREFIX</p></td><td class="cell"><p><b>.946</b></p></td><td class="cell"><p><b>.906</b></p></td><td class="cell"><p><b>.926</b></p></td><td class="cell"><p>.894</p></td><td class="cell"><p><b>.886</b></p></td><td class="cell"><p><b>.890</b></p></td><td class="cell"><p>.980</p></td><td class="cell"><p><b>.987</b></p></td><td class="cell"><p>.983</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><td class="cell"></td></tr></table><table caption="Table 4: Feature weights for the Orthography set" 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><b>Rank</b></p></td><td class="cell"><p><b>Src</b></p></td><td class="cell"><p><b>Dst</b></p></td><td class="cell"><p><b>Weight</b></p></td><td class="cell"><p><b>Examples</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>uss</p></td><td class="cell"><p>us</p></td><td class="cell"><p>9.81</p></td><td class="cell"><p>focussing</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>aev</p></td><td class="cell"><p>ev</p></td><td class="cell"><p>9.56</p></td><td class="cell"><p>mediaeval</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>aen</p></td><td class="cell"><p>en</p></td><td class="cell"><p>9.53</p></td><td class="cell"><p>ozaena</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p>iae$</p></td><td class="cell"><p>ae$</p></td><td class="cell"><p>9.44</p></td><td class="cell"><p>gadoviae</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p>nni</p></td><td class="cell"><p>ni</p></td><td class="cell"><p>9.16</p></td><td class="cell"><p>prorennin</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>6</p></td><td class="cell"><p>nne</p></td><td class="cell"><p>ne</p></td><td class="cell"><p>8.84</p></td><td class="cell"><p>connexus</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>7</p></td><td class="cell"><p>our</p></td><td class="cell"><p>or</p></td><td class="cell"><p>8.54</p></td><td class="cell"><p>colour</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>8</p></td><td class="cell"><p>aea</p></td><td class="cell"><p>ea</p></td><td class="cell"><p>8.31</p></td><td class="cell"><p>paean</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>9</p></td><td class="cell"><p>aeu</p></td><td class="cell"><p>eu</p></td><td class="cell"><p>8.22</p></td><td class="cell"><p>stomodaeum</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>10</p></td><td class="cell"><p>ooll</p></td><td class="cell"><p>ool</p></td><td class="cell"><p>7.79</p></td><td class="cell"><p>woollen</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><doubt alpha="0.0" length="36" tooSmall="True" monospace="0.0">0 1000 2000 3000 4000 5000 6000 7000</doubt><doubt alpha="81.6" length="49" tooSmall="True" monospace="0.0">Number of active features (with non-zero weights)</doubt><figure caption="Figure 2: Number of active features and performance."></figure><p>We prepared four datasets, <i>Orthography, Deriva­tion, Inflection, </i>and <i>XTAG morphology. </i>Each dataset is a list of string pairs (s,t) that indicate the transformation of the string s into t. A source string s is identical to its destination string t when string s should not be changed. These instances correspond to the case where string s has already been lemmatized. For each string pair (s, t) in LR­SPL<footnote anchor="9"/>, LRNOM, and LRAGR tables, we generated two instances (s, t) and (t, t). Consequently, a sys­tem is expected to leave the string t unchanged. We also used XTAG morphology<footnote anchor="10"/> to perform a cross-domain evaluation of the lemmatizer trained on the Inflection dataset<footnote anchor="11"/>. The entries in XTAG morphology that also appear in the Inflection dataset were 39,130 out of 317,322 (12.3 %). We evaluated the proposed method and CST's lemmatizer by per­forming ten-fold cross validation.</p><footnote label="9">We define that s precedes t in dictionary order.</footnote><footnote label="10">XTAG morphology database 1.5: ftp://ftp.cis.upenn.edu/pub/xtag/morph- 1.  5/morph-1.5.tar.gz</footnote><footnote label="11">We found that XTAG morphology contains numerous in-</footnote><p>Table 5 reports the performance based on the number of correct transformations. The proposed method again outperformed the baseline systems with a wide margin. It is noteworthy that the pro­posed method can accommodate morphological in­flections in the XTAG morphology corpus with no manual tuning or adaptation.</p><p>Although we introduced no assumptions about target tasks (e.g. a known vocabulary), the aver­age number of positive substitution rules relevant to source strings was as small as 23.9 (in XTAG morphology data). Therefore, the candidate gen­erator performed 23.9 substitution operations for a given string. It applied the decision rules (equa­tion 7) 21.3 times, and generated 1.67 candidate strings per source string. The experimental results described herein demonstrated that the candidate generator was modeled successfully by the discrim­inative framework.</p></subsection></section><section number="4" title="Related work"><p>The task of string transformation has a long history in natural language processing and information re­trieval. As described in Section 1, this task is re­lated closely to various applications. Therefore, we specifically examine several prior studies that are relevant to this paper in terms of technical aspects.</p><p>Some researchers have reported the effectiveness of the discriminative framework of string similarity. MaCallum et al. (2005) proposed a method to train the costs of edit operations using Conditional Ran­dom Fields (CRFs). Bergsma and Kondrak (2007)</p><p>correct comparative and superlative adjectives, e.g., <i>unpopular</i> <i>— unpopularer — unpopularest </i>and <i>refundable — refundabler</i> <i>— refundablest.</i><i> </i>Therefore, we removed inflection entries for comparative and superlative adjectives from the dataset.</p><doubt alpha="0.0" length="5" tooSmall="True" monospace="0.0">0.985</doubt><doubt alpha="100.0" length="1" tooSmall="True" monospace="0.0">o</doubt><doubt alpha="0.0" length="5" tooSmall="True" monospace="0.0">0.975</doubt><doubt alpha="0.0" length="4" tooSmall="True" monospace="0.0">0.97</doubt><doubt alpha="0.0" length="4" tooSmall="True" monospace="0.0">0.96</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">454</doubt><table caption="Table 5: Performance of string transformation" 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><b>System</b></p></td><td class="cell"><p><b>Orthography P      R F1</b></p></td><td class="cell"><p><b>Derivation P      R F1</b></p></td><td class="cell"><p><b>Inflection P      R F1</b></p></td><td class="cell"><p><b>XTAG morph 1.5 P      R F1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Morpha</p><p>CST's lemmatiser Proposed method</p></td><td class="cell"><p>.078    .012 .021 .135   .160 .146 <b>.859   .823 .841</b></p></td><td class="cell"><p>.233    .016 .029 .378    .732 .499 <b>.979   .981 .980</b></p></td><td class="cell"><p>.435   .682 .531 .367   .762 .495 <b>.973   .979 .976</b></p></td><td class="cell"><p>.830   .587 .688 .584   .589 .587 <b>.837   .816 .827</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><td class="cell"></td></tr></table><page local="9" global="455"/><p>presented an alignment-based discriminative string similarity. They extracted features from substring pairs that are consistent to a character-based align­ment of two strings. Aramaki et al. (2008) also used features that express the different segments of the two strings. However, these studies are not suited for a candidate generator because the processes of string transformations are intractable in their discrimina­tive models.</p><p>Dalianis and Jongejan (2006) presented a lem­matiser based on suffix rules. Although they pro­posed a method to obtain suffix rules from a training data, the method did not use counter-examples (neg­atives) for reducing incorrect string transformations. Tsuruoka et al. (2008) proposed a scoring method for discovering a list of normalization rules for dic­tionary look-ups. However, their objective was to transform given strings, so that strings (e.g., <i>studies </i>and <i>study) </i>referring to the same concept in the dic­tionary are mapped into the same string (e.g., <i>stud); </i>in contrast, this study maps strings into their destina­tion strings that were specified by the training data.</p></section><section number="5" title="Conclusion"><p>We have presented a discriminative approach for generating candidates for string transformation. Unlike conventional spelling-correction tasks, this study did not assume a fixed set of destination strings (e.g. correct words), but could even generate unseen candidate strings. We used an Li -regularized logistic regression model with substring-substitution features so that candidate strings for a given string can be enumerated using the efficient algorithm. The results of experiments described herein showed re­markable improvements and usefulness of the pro­posed approach in three tasks: normalization of or­thographic variants, noun derivation, and lemmati-zation.</p><p>The method presented in this paper allows only one region of change in string transformation. A natural extension of this study is to handle mul­tiple regions of changes for morphologically rich languages (e.g. German) and to handle changes at the phrase/term level (e.g., "estrogen receptor" and "receptor of oestrogen"). Another direction would be to incorporate the methodologies for semi-supervised machine learning to accommodate situations in which positive instances and/or unlabeled strings are insufficient.</p></section><section title="Acknowledgments"><p>This work was partially supported by Grants-in-Aid for Scientific Research on Priority Areas (MEXT, Japan), and for Solution-Oriented Research for Sci­ence and Technology (JST, Japan).</p></section><references><p>George W. Adamson and Jillian Boreham. 1974. The use of an association measure based on character struc­ture to identify semantically related pairs of words and document titles. <i>Information Storage and Retrieval, </i>10(7-8):253-260.</p><p>Farooq Ahmad and Grzegorz Kondrak. 2005. Learning a spelling error model from search query logs. In <i>Pro­ceedings of the conference on Human Language Tech­nology and Empirical Methods in Natural Language Processing (HLT-EMNLP 2005), </i>pages 955-962.</p><p>Galen Andrew and Jianfeng Gao. 2007. Scalable train­ing of Li-regularized log-linear models. In <i>Proceed­ings of the 24th International Conference on Machine Learning (ICML 2007), </i>pages 33-W.</p><p>Eiji Aramaki, Takeshi Imai, Kengo Miyo, and Kazuhiko Ohe. 2008. Orthographic disambiguation incorporat­ing transliterated probability. In <i>Proceedings ofthe Third International Joint Conference on Natural Lan­guage Processing (IJCNLP 2008), </i>pages 48-55.</p><p>Adam L. Berger, Vincent J. Della Pietra, and Stephen A. Della Pietra. 1996. A maximum entropy approach to natural language processing. <i>Computational Lin­guistics, </i>22(1):39-71.</p><p>Shane Bergsma and Grzegorz Kondrak. 2007. Alignment-based discriminative string similarity. In <i>Proceedings ofthe 45th Annual Meeting ofthe Associ­ation ofComputational Linguistics (ACL 2007), </i>pages 656-663.</p><p>Mikhail Bilenko and Raymond J. Mooney. 2003. Adap­tive duplicate detection using learnable string simi­larity measures. In <i>Proceedings </i><i>ofthe</i><i> ninth ACM SIGKDD international conference on Knowledge dis­covery and data mining (KDD 2003), </i>pages 39-48.</p><p>Eric Brill and Robert C. Moore. 2000. An improved error model for noisy channel spelling correction. In <i>Proceedings </i><i>ofthe</i><i> 38th Annual Meeting on the As­sociation for Computational Linguistics (ACL 2000),</i> pages 286-293.</p><p>Eric Brill. 1995. Transformation-based error-driven learning and natural language processing: a case study in part-of-speech tagging.<page local="10" global="456"/> <i>Computational Linguistics, </i>21(4):543-565. Andrew Carlson and Ian Fette. 2007. Memory-based context-sensitive spelling correction at web scale. In <i>Proceedings ofthe Sixth International Conference on Machine Learning and Applications (ICMLA 2007), </i>pages 166-171.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">455</doubt><p>Qing Chen, Mu Li, and Ming Zhou. 2007. Improv­ing query spelling correction using web search results. In <i>Proceedings ofthe Joint Conference on Empirical Methods in Natural Language Processing and Compu­tational Natural Language Learning (EMNLP-CoNLL 2007), </i>pages 181-189. Hercules Dalianis and Bart Jongejan. 2006. Hand­crafted versus machine-learned inflectional rules: The euroling-siteseeker stemmer and cst's lemmatiser. In <i>In Proceedings of the 6th International Conference on Language Resources and Evaluation (LREC 2006), </i>pages 663-666.</p><p>Okan Kolak and Philip Resnik. 2002. OCR error correc­tion using a noisy channel model. In <i>Proceedings of the second international conference on Human Lan­guage Technology Research (HLT 2002), </i>pages 257­262.</p><p>Grzegorz Kondrak. 2005. Cognates and word alignment in bitexts. In <i>Proceedings ofthe Tenth Machine Trans­lation Summit (MT Summit X), </i>pages 305-312. Lillian Lee. 1999. Measures of distributional similarity.</p><p>In <i>Proceedings ofthe 37th Annual Meeting ofthe As­sociation for Computational Linguistics (ACL 1999), </i>pages 25-32.</p><p>Vladimir I. Levenshtein. 1966. Binary codes capable of correcting deletions, insertions, and reversals. <i>Soviet Physics Doklady, </i>10(8):707-710.</p><p>Mu Li, Yang Zhang, Muhua Zhu, and Ming Zhou. 2006. Exploring distributional similarity based models for query spelling correction. In <i>Proceedings ofthe 21st International Conference on Computational Linguis­tics and the 44th Annual Meeting ofthe Association for Computational Linguistics (Coling-ACL 2006), </i>pages 1025-1032.</p><p>Andrew McCallum, KedarBellare, andFernandoPereira. 2005. A conditional random field for discriminatively-trained finite-state string edit distance. In <i>Proceedings of the 21st Conference on Uncertainty in Artificial In­telligence (UAI2005), </i>pages 388-395. I. Dan Melamed. 1999. Bitext maps and alignment via pattern recognition. <i>Computational Linguistics, </i>25(1):107-130. Guido Minnen, John Carroll, and Darren Pearce. 2001. Applied morphological processing of English. <i>Natu­ral Language Engineering, </i>7(3):207-223.</p><p>Gonzalo Navarro. 2001. A guided tour to approximate string matching. <i>ACM Computing Surveys (CSUR), </i>33(1):31-88.</p><p>Andrew Y. Ng. 2004. Feature selection, L1 vs. L2 regu-larization, and rotational invariance. In <i>Proceedings of the twenty-first international conference on Machine learning (ICML 2004), </i>pages 78-85. Martin F. Porter. 1980. An algorithm for suffix stripping.</p><doubt alpha="66.4" length="122" tooSmall="False" monospace="0.0">Program,14(3):130-137. Claude E. Shannon.    1948.   A mathematical theory of communication.Bell System Technical Journal,</doubt><p>27(3):379-423.</p><p>Robert Tibshirani. 1996. Regression shrinkage and se­lection via the lasso. <i>Journal ofthe Royal Statistical Society. Series B (Methodological), </i>58(1):267-288. Yoshimasa Tsuruoka, John McNaught, and Sophia Ana-niadou. 2008. Normalizing biomedical terms by min­imizing ambiguity and variability. <i>BMC Bioinformat-</i></p><p><i>ics, </i>Suppl 3(9):S2. W. John Wilbur, Won Kim, and Natalie Xie. 2006.</p><p>Spelling correction in the PubMed search engine. <i>In­formation Retrieval, </i>9(5):543-564.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">456</doubt></references></body></article>