<?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="143"/><title>Efficient Grapheme-phoneme Alignment for Japanese</title><pubinfo>Proceedings of the Australasian Language Technology Workshop 2005,pages 143-151, Sydney, Australia, December 2005.</pubinfo><author surname="Yencken" givenname="Lars"><org  name="University of Melbourne" country="Australia" city="Melbourne"/></author><author surname="Baldwin" givenname="Timothy"><org  name="University of Melbourne" country="Australia" city="Melbourne"/></author></firstpageheader><frontmatter><p>Efficient Grapheme-phoneme Alignment for Japanese</p><p><b>Lars Yenckeii </b>and <b>Timothy Baldwin</b></p><p>Dept. of Computer Science and Software Engineering   NICTA Victoria Research Lab University of Melbourne University of Melbourne</p><p>Victoria 3010 Australia Victoria 3010 Australia</p><p>{lars,tim}@csse.unimelb.edu.au</p></frontmatter><abstract>Current approaches to the grapheme-phoneme alignment problem for Japanese achieve good accuracy, but are extremely computationally expensive. In this paper we evaluate various modifications to previous algorithms for both the alignment and okurigana detection sub-tasks. The best algorithm achieved accuracy of 96.2% for the combined task on a limited data set, and was significantly more efficient than previous approaches. </abstract></header><body><section number="1" title="Introduction"><p>Alignment is the task of, for two streams of data which represent alternate construals of the same basic information content, identifying cor­responding segments within the two streams. A common alignment task in computational lin­guistics is word alignment, whereby given an English sentence and its French translation, say, each English word n-gram is aligned with its French translation (Brown et al., 1993; Man­ning and Schütze, 2000). The combined set of such alignments derived from a parallel corpus is generally used to train the translation model in statistical machine translation systems. Other alignment tasks in computational linguistics in­clude sentence alignment, structural alignment (e.g. as a means of grammar inference), and grapheme-phoneme alignment.</p><p>The grapheme-phoneme ("GP") alignment task aims to <i>maximally </i>segment the ortho­graphic form of an utterance into morpho-phonemic units, and align these units to a pho­netic transcription of the utterance. Maxi­mal indicates the desire to segment grapheme strings into the smallest meaningful units pos­sible. Taking the English example word <i>battle­ship </i>and its phonetic transcription /baetljip/, one possible alignment is:</p><p>Note that alignment in general is many-to-many. In the example above, <i>tt </i>aligns to /t/, le aligns to <i>j\j </i>and <i>sh </i>aligns to /J/. Equally it might be possible for some letters to align to an empty string. This task is challenging for any language without a one-to-one correspondence between individual graphemes and phonemes, as is the case with English (Zhang et al, 1999), Japanese (considering graphemes as kanji char­acters), and indeed most languages with a pre­existing writing system.</p><p>GP alignment is a prerequisite for many ap­plications. For example, the alignment pro­cess, and the resulting aligned GP tuples, are a precursor to achieving automated grapheme-to-phoneme mappings for several text-to-speech systems (Allen et al, 1987; Sejnowski and Rosenberg, 1987; Sloat, 1996; Black et al., 1998). Further uses include accented lexicon compression (Pagel et al., 1998), identification of cognates (Kondrak, 2003), Japanese-English back-transliteration (Knight and Graehl, 1998; Bilac and Tanaka, 2005a, 2005b) and finally the FOKS dictionary system for Japanese learners (Bilac, 2002; Bilac et al., 2002), which provides the context for our work.</p><p>There are several successful approaches to Japanese GP alignment, notably the itera­tive rule-based approach taken by Bilac et al. (1999), later followed by an unsupervised statis­tical model based on TF-IDF by Baldwin and Tanaka (1999a, 1999b). Although these models were found to have high accuracy, their itera­tive approach had a high computational cost, making them impractical for many real-world applications. For the statistical models, this is partially a consequence of their strongly un­supervised nature. We thus explore the use of the Edict and Kanjidic electronic dictionar­ies (Breen, 1995) as means of constraining the alignment search space and reducing computa­tional complexity.</p><p>The goal of this paper is to compare several different GP alignment methods in order to achieve equivalent or better alignment accu­racy to that for existing methods, at a much lower computational cost.<page local="2" global="144"/> To achieve this goal, we split the task of GP alignment into a pure alignment subtask and an okurigana detection subtask, and compare algorithm variants of pre­existing approaches for both. As our base model, we use the top performing statistical model from Baldwin and Tanaka (2000).</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>b</p></td><td class="cell"><p>a</p></td><td class="cell"><p>tt</p></td><td class="cell"><p>le</p></td><td class="cell"><p>sh</p></td><td class="cell"><p>i</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>b</p></td><td class="cell"><p>ae</p></td><td class="cell"><p>t</p></td><td class="cell"><p>1</p></td><td class="cell"><p>J</p></td><td class="cell"><p>i</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></tr></table><p>The remainder of this paper is structured as follows. First, we discuss the FOKS system, an important motivator for this work (Section 2). We then discuss the GP-alignment problem for Japanese in greater depth (Section 3), before giving details of the baseline statistical model and our modifications to it (Section 4). Finally, we discuss our results on a manually aligned test data set (Section 5).</p></section><section number="2" title="FOKS dictionary system"><p>GP alignment is an important step in the pipeline that drives the FOKS ("Forgiving On­line Kanji Search") dictionary interface (Bilac, 2002), our particular research interest. Whereas normal electronic dictionaries will not provide the target word if an incorrect reading is looked up, FOKS is able to compensate for learner mistakes by dynamically predicting readings for compounds, and aims to direct the user to the correct word despite possible mistakes in the en­tered reading.</p><p>For example, suppose the user wishes to look up <b>R^i </b>[fca<b>-ze] </b>"common cold". He or she may know the kanji Ml, <i>[ka-ze/fu-u] </i>"wind", and also <i>M [yo-ko-shi-m,a/jya] </i>"evil, wicked", and thus guess that the reading for <i>}$hffl&gt;</i><i> </i>is <i>ka-ze-yo-ko-shi-ma, </i>one possible combination of read­ings. However, the correct reading <i>ka-ze </i>is non-compositional. Despite the incorrect guess, FOKS still lists the target word with the correct reading in its list of candidates for the guessed reading.</p><p>The back-end data that drives FOKS is con­structed as follows. Firstly, all entries in the Edict dictionary are GP aligned. The subse­quent GP tuples are counted to estimate the probability <i>P(r\k) </i>of a given reading r for a given grapheme segment <i>k.</i><i> </i>Composing seg­ment probabilities together gives the probabil­ity <i>P(r\s) </i>of an entire dictionary entry <i>s </i>taking reading r. Using Bayes rule, we finally calculate <i>P(s\r), </i>the probability of a dictionary entry <i>s </i>being the target entry given the user provided reading <i>r.</i><i> </i>The entries <i>s </i>with non-zero proba­bilities form our list of candidates for the user's query, and the probabilities <i>P(s\r) </i>provide the basis of the ranking (Bilac et al., 2002). GP alignment allows us to calculate each <i>P(r\k)</i><i> </i>and is thus a pivotal supporting technology which underlies the FOKS system.</p><doubt alpha="60.0" length="55" tooSmall="False" monospace="0.0">ka-n-sya-su-ru    ka-n-sya I su-ru   ka-n I sya I su-ru</doubt><figure caption="Figure 1: A typical dictionary entry requiring GP alignment, with two potential alignments shown"></figure></section><section number="3" title="Grapheme-phoneme alignment in Japanese"><p>In the context of Japanese, the GP-alignment task has a few peculiarities. Japanese has three scripts: <i>kanji, hiragana, </i>and <i>katakana. </i>Since hiragana and katakana (or <i>kana </i>collectively) are essentially phonetic, we can represent the phoneme string using either of these scripts di­rectly. Kanji on the other hand are ideographic rather than phonetic. Each kanji may have many readings as a single unit, and may also form part of larger units which themselves take on one or more readings. To emphasize the dif­ference between scripts, we shall use romaniza-tions for the phonetic scripts. Figure 1 gives an example for <i>[ka-n-sya-su-ru] </i>"to give thanks, be thankful".</p><p>Given that kana are phonetic, the main task is then reduced to determining how the kanji elements should be segmented, and what ele­ments of the phoneme string they correspond to. Below, we outline four features of Japanese that impede this task.</p><subsection number="3.1" title="Okurigana alternation"><p>Individual kanji segments do not always corre­spond to minimal units in language. Often a hi­ragana suffix of some description (usually con-jugational) is required, which we term <i>okurig­ana. </i>Verb and adjective conjugation fall under this category: for example <i>'iT-ku [i-ku] </i>"go" in plain form changes to îf<b>-fce </b><i>[i-ke] </i>in the im­perative. Any useful segmentation should thus include such suffixes along with their kanji stem in order to preserve the basic morpho-phonemic structure of the compound.<page local="3" global="145"/></p><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><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>■su-ru</b></p></td><td class="cell"><p>Ü</p></td><td class="cell"><p>8Ë</p></td><td class="cell"><p>1 <b>su-</b></p></td><td class="cell"><p><b>ru</b></p></td><td class="cell"><p><i>m </i>i %</p></td><td class="cell"><p>\ 1 <b>su</b></p></td><td class="cell"><p><b>-ru</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></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></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><td class="cell"></td><td class="cell"></td></tr></table><p>Although most cases of okurigana represent verb and adjective conjugation, there are many general cases such as that of the kanji IX, which occurs in compounds almost exclusively as IX-ri [io-n], but also has an alternate where the suffix <i>ri</i><i> </i>is conflated with the kanji stem (such as in IX <i>ft [to-ri-bu-n] </i>"one's share or portion"). With some lexemes, both alternants are possible, such as in <i>%X-ri-ft </i><i>[to-ri-bu-n]. </i>It is desirable for sys­tems to be able to capture such alternations, in order to achieve consistent segmentation be­haviour and attain an accurate estimate of the frequency with which a given kanji occurs with a particular reading (independent of the exact lexical form of the word).</p></subsection><subsection number="3.2" title="Sequential voicing"><p>Sequential voicing occurs when a tailing seg­ment has its initial consonant voiced. For ex­ample: * <i>[ho-n] </i>"book" + <i>m [ta-na] </i>"shelf" <i>—&gt; [ho-n-da-na] </i>"bookshelf". Although se­quential voicing is notoriously unpredictable, its potential occurrence is constrained by Lyman's law, which states that sequential voicing will not occur where there are existing voiced obstruents in the tailing segment (Vance, 1987). It occurs in about 75% of cases where Lyman's law is not violated, with some systematic irregularities for noun-noun compounds as found in recent work by Rosen (2003).</p><p>Alignment methods based on precedence or frequency counts may be hindered by sequential voicing, since aligned grapheme/phoneme pairs may not be recognised as phonological variants of previously seen kanji-reading pairs. Fortu­nately, devoicing is relatively simple, so a com­mon approach is to simply consider voiced and devoiced grapheme/phoneme pairs to be equiv­alent for counting or comparison.</p></subsection><subsection number="3.3" title="Sound euphony"><p>Sound euphony occurs when the last syllable of a leading segment is modified to match the sound of the tailing segment. This is marked uniquely by the <i>-j </i>kana character in Japanese. For example: <i>M [ko-ku] </i>"country" + fit <i>[kyo-</i><i>o] </i>"boundary" <i>MM</i><i> [ko-k-kyo-o] </i>"national border". Unlike sequential voicing, which im­poses a reversible transformation, it is not clear from Ilôt <i>[ko-k-kyo-o] </i>"national border" what the original kana ending for II was (possibilities include <i>ko-ki, </i><i>ko-ku, ko-su </i>and <i>ko-tsu).</i></p></subsection><subsection number="3.4" title="Grapheme gapping"><p>Occasionally a kana is omitted from the writ­ten form of a word, but does not constitute a component of the readings of the neighbouring kanji. Typically the kana can also be explicitly included in the written form of the word. For example: <b>ill </b><i>[ya-ma] </i>"mountain" + <i>no </i><i>[GENI­TIVE] + ^ [te] </i>"hand" can be written as either <b>|jj£^ or |Jj.no.^5 </b>both with reading <i>[ya-ma-no-te].</i></p><p>Grapheme gapping is very rare, normally only occurs with the particles <i>ga </i>or <i>no, </i>and tends not to be productive, suggesting that even ap­proaches aimed at open text are better off sim­ply storing each case individually. The only pro­ductive case involving a kanji is <i>M [ma]. </i>For example: <i>M [ma] </i>"true/pure" + <b>H</b>hB8 <i>[ku-ra-ya-m.%] </i>"darkness" —<i>y </i>ÏPhBB <i>[ma-ku-ra-ya-mi] </i>"pitch dark", or H-^<b>H</b>hBB <i>[ma-k-ku-ra-ya-mi] </i>for emphasis.</p></subsection></section><section number="4" title="Multi-step alignment"><p>In this section, we first describe the baseline al­gorithm of Baldwin and Tanaka (1999a, 1999b), before introducing the modifications we propose in this research.</p><subsection number="4.1" title="Overview"><p>A high-level depiction of the unsupervised align­ment method of Baldwin and Tanaka (1999a, 1999b) is given in Figure 2. Firstly, all poten­tial segmentations and alignments for input en­tries are created. Each entry will have potential segmentations and alignments per segmentation which number exponentially in the entry's or­thographic length.</p><p>Some simple linguistic constraints used as forward constraints to reduce this number are strictly linear alignment, a minimum of one phoneme aligned to each grapheme, and a re­striction that each alignment must successfully match any kana entry in the grapheme string with its equivalent phoneme entry. Further con­straints used to prune entries include match­ing okurigana to pre-clustered variants and forc­ing script-boundaries (except kanji to hiragana boundaries) to correspond to segment bound­aries.</p><p>Based on the linguistic constraints, we can reasonably expect to have uniquely determined some number of alignments for any sufficiently diverse data set.<footnote anchor="1"/>   The uniquely determined<page local="4" global="146"/></p><footnote label="1">Notable exceptions to this are dictionaries of 4-kanji proverbs, such as the 4JWORDS electronic dictionary,</footnote><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">c</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">I</doubt><p><b>raw entries <u>+</u></b></p><p><b>generate alignments</b> <b>ambiguous alignments</b></p><p><b>apply linguistic constraints</b></p><p><b>unique alignments</b> <b>iterative disambiguation</b></p><doubt alpha="83.3" length="6" tooSmall="False" monospace="0.0">TF-IDF</doubt><p><b>final alignments</b></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">\</doubt><figure caption="Figure 2: The TF-IDF based alignment algo­rithm"></figure><p>alignments and the remaining ambiguous align­ments are both used separately to seed fre­quency counts for the TF-IDF model.</p><p>TF-IDF is a family of models originally de­veloped for IR tasks, combining the TF (term frequency) and IDF (inverse document fre­quency) heuristics (Baeza-Yates and Ribiero-Neto, 1999). In the GP alignment task, they mediate the tension between oversegmenting and undersegmenting. The TF value is largest for the most frequently occurring GP pair given any grapheme; an oversegmented alignment produces rarer segments with lower frequency, penalizing the TF score. The IDF value on the other hand is largest for segments which occur in a wide variety of contexts, and penalises un­dersegmenting.</p></subsection><subsection number="4.2" title="TF-IDF Alignment"><p>We use a modified version of the TF-IDF model which takes into account the differing level of confidence we have in our frequency counts between solved <i>(freqs) </i>and ambiguous <i>(frequ) </i>alignments (Baldwin and Tanaka, 2000). For</p><p>whose entries' grapheme forms lack kana to help elimi­nate possible alignments.</p><p>each alignment, we count the occurrence of each grapheme segment <i>(g),</i><i> </i>of each aligned grapheme/phoneme segment pair <i>(g,p),</i><i> </i>and of the same pair with one additional pair of con­text on either side <i>{g,p,</i><i> ctxt). </i>For any fre­quency lookup, the <i>ws </i>and <i>wu </i>constants provide a weighting between information from solved and ambiguous alignments:</p><doubt alpha="62.9" length="35" tooSmall="False" monospace="0.0">wtf(x)= wsxfreqs(x) +wuxfrequ(x)(1)</doubt><p>To score a potential alignment, we calculate the <i>tf </i>and <i>idf </i>scores for each grapheme/phoneme segment pair and multiply them together as in Equations 2-4. The score for the whole align­ment is the average of the scores for every pair which contains a kanji character, since these are the non-trivial pairs. The constant <i>a </i>is in­tended as a smoothing factor for the TF and IDF scores. It must be assigned such that 0 &lt; <i>a &lt; wu &lt; ws-</i></p><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">tf(g,p)^</doubt><doubt alpha="53.3" length="15" tooSmall="False" monospace="0.0">wtf((g,p))-wu+a</doubt><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">wtf((g))</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><doubt alpha="66.7" length="18" tooSmall="False" monospace="0.0">idf(g,p,ctxt) =log</doubt><doubt alpha="50.0" length="10" tooSmall="False" monospace="0.0">wtf((g,p))</doubt><doubt alpha="60.0" length="20" tooSmall="False" monospace="0.0">wtf((g,p,ctxt))-wu+a</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(3)</doubt><doubt alpha="59.5" length="42" tooSmall="False" monospace="0.0">score{g,p, ctxt) =tf(g,p)xidf(g,p,ctxt)(4)</doubt><p>Once all potential alignments have been scored, the highest-scoring alignment is chosen to disambiguate its entry. Its counts are re­moved from the unsolved pool and added to the solved pool, and algorithm reiterates with up­dated counts. In this way entries are iteratively disambiguated until no more remain, and the algorithm is complete.</p><p>Although effective, the iterative algorithm is extremely expensive, with two main costs. Firstly, as with any alignment task where two strings of length <i>I </i>and <i>m </i>respectively need to be aligned, there are <i>2lm </i>possible alignments be­fore applying constraints (Brown et al., 1993). In our task, kanji essentially form free variables in the alignment, whereas kana align to them­selves, constraining the search space. Entries with many kanji and no kana to constrain them thus have prohibitively large numbers of possi­ble alignments. These cases bloat the number of potential alignments to be rescored on each it­eration so much that including them makes our main algorithm infeasibly expensive.</p><page local="5" global="147"/><p>The second bottleneck is in the average case. Suppose there are <i>n </i>alignments pairs, each with <i>p </i>possible alignments. Then the cost of the it­erative rescoring loop is <i>0((np)<footnote anchor="2"/>). </i>Even hav­ing removed the problem cases above, if <i>p </i>is still high on average, the problem will prove in­tractable for suitably large <i>n. </i>As a comparison, the evaluation set we use has 5000 elements, yet the Edict dictionary has over 110,000 entries, representing a near 500 fold expected increase in computation time. Although this could be mitigated by simply breaking the input down into smaller subsets for processing, it is desir­able to process all the data in the same itera­tive loop, since this gives greatest consistency of alignment.</p><p>Strategies to reduce the average case for <i>p </i>and to eliminate the worst case for <i>p </i>thus form the basis for our attempts at modifying the algo­rithm.</p></subsection><subsection number="4.3" title="Modified algorithm"><p>The modified algorithm diverges from the un­supervised algorithm in three main respects. Firstly, we separate out okurigana handling into a separate step after alignment, benefiting both efficiency and error measurement. Secondly, a reading model is introduced based on the Kan-jidic electronic dictionary<footnote anchor="2"/> and is used to dis­ambiguate the majority of remaining cases be­fore the TF-IDF model is reached. Thirdly, we provide a maximum alignment size cutoff above which we use a simplified non-iterative alignment algorithm which meets resource con­straints for problem cases. We discuss these changes below.</p><subsubsection number="4.3.1" title="Separating okurigana handling"><p>The okurigana handling in the original algo­rithm involves pre-clustering okurigana alter­nates, and attempting to restrict alignments to match these alternates wherever possible. Whilst this constraint does help reduce poten­tial alignments, it also limits the application of the stronger constraint that script bound­aries in the grapheme string must correspond to segment boundaries (i.e. every occurrence of a kanji-hiragana script boundary must be considered as a potential okurigana site). If okurigana detection is left as a post-processing task, we can strengthen this constraint to in­clude all script boundaries, instead of omitting kanji-to-hiragana boundaries. This in turn pro­vides a larger gain than the original okurigana constraint, since more entries are fully disam­biguated.</p><footnote label="2">http://www.esse.monash.edu.au/~jwb/kanj idic. html</footnote><p>The GP-alignment task is then split into two parts: a pure alignment task, which can be car­ried out as per the original algorithm, and a sep­arate okurigana detection task. This redesign also allows us to separately evaluate the error in­troduced during alignment, and that introduced during okurigana detection, and thus allows us to experiment more freely with possible models.</p></subsubsection><subsubsection number="4.3.2" title="Short and long entries"><p>Ultimately, any method which considers all pos­sible alignments for a long entry will not scale well, since potential alignments increase expo­nentially with input length. We can however extend the applicability of the algorithms con­sidered by simply disambiguating long entries in a non-iterative manner.</p><p>The number of potential alignments for an en­try can be estimated directly from the number of consecutive kanji. Our approach is to sim­ply to count the number of consecutive kanji in the grapheme string. If this number is above a given threshold, we delay alignment until all the short entries have been aligned. We then use the richer statistical model to align all the long entries in a single pass, without holding their potential alignments in memory.</p><p>Although long entries were not an issue in our evaluation set, a threshold set experimen­tally to 5 consecutive kanji worked well using the Edict dictionary as input, where such en­tries can prove difficult.</p></subsubsection><subsubsection number="4.3.3" title="Reading model"><p>For the pure alignment task, we added an addi­tional reading model which disambiguates en­tries by eliminating alignments whose single kanji readings do not correspond to those in the Kanjidic and KANJD212 electronic dictio­naries. These dictionaries list common read­ings for all kanji in the JIS X 0208-1990 and JIS X 0212-1990 standards respectively, cover­ing 12154 kanji in total. Effectively, we are ap­plying the closed world assumption and allow­ing only those alignment candidates for which each grapheme unit is associated with a known reading. Only in the instance of over-constraint, i.e. every GP alignment containing at least one unattested reading for a grapheme unit, do we relax this constraint over the overall alignment candidate space for the given grapheme string.</p><page local="6" global="148"/><p><b>Potential alignments</b> <b>Kanjidic readings</b></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">—IH —IH —IH —H</doubt><doubt alpha="63.6" length="55" tooSmall="False" monospace="0.0">iIchi-ryo-u     i-chiIryo-u     i-chi-ryoIu i-chi-ryo-u</doubt><doubt alpha="54.9" length="51" tooSmall="False" monospace="0.0">— : i-chi, i-tsu, hi-to H : ryo-u, te-ru, fu-ta-tsu</doubt><figure caption="Figure 3: Disambiguation using the reading model"></figure><p>A simple example of disambiguation using the reading model is that of —<b>Pf </b><i>[i-chi-ryo-u] </i>"one vehicle" as shown in Figure 3. Since only one of the potential alignments is compatible with the known readings, we then select it as the cor­rect alignment. As an indication of the effective­ness of the reading model, our initial constraints uniquely determine <b>31.1% </b>of the entries in the Edict dictionary.<footnote anchor="3"/> The reading model disam­biguates a further 60.6% of entries, effectively decreasing the input to the iterative alignment algorithm by an order of magnitude, to the re­maining 8.3%.</p></subsubsection></subsection></section><section number="4" title=".3 .4 Heuristic variants"><p>We could continue to use the original TF-IDF model over the residue which is not disam­biguated by the reading model, although the type of input has changed considerably after passing through the reading model. Since the reading model is likely to fully disambiguate any entry containing only single kanji segments, the only remaining ambiguous models are likely to be those with solutions containing multi-kanji segments (which do not occur in either Kan­jidic or KANJD212); an instance of a multi-kanji segment is our earlier example <i>Wffi </i>[Äa-ze] "common cold". With this in mind, we compare the original TF-IDF model (our baseline) with similar models using TF only, IDF only, or ran­dom selection to choose which entry/alignment to disambiguate next.</p><p><b>'</b>http://www.esse.monash.edu.an/"jwb/edict<b>. html</b></p></section><section number="4" title=".3 .5 Okurigana detection"><p>We similarly wish to determine what form of okurigana detection and realignment model is most appropriate. Since the majority of entries in the Edict dictionary (our main experimen­tal data set) which contain potential okurigana sites (i.e. kanji followed by hiragana) do contain okurigana in some form, we use as our baseline the simple assumption that every such site is an instance of okurigana. In this manner, the base­line simply removes every kanji-to-kana segment boundary. As a small enhancement, the bound­ary is not removed if the tailing kana segment is one of the hiragana particles <i>no, ga </i>or <i>ni, </i>which frequently occur alone.</p><p>We consider three alternative okurigana mod­els to compare to our baseline, of increasing complexity and expected coverage. Firstly, the Kanjidic dictionary contains common okurigana suffixes for some kanji with conjugating entries. Thus our first model uses these suffixes ver­batim for okurigana detection. The coverage of okurigana suffixes in Kanjidic is somewhat patchy, so in our second model, in addition to Kanjidic suffixes, we also perform a frequency count over all potential okurigana sites in the Edict dictionary, and include any occurrences above a set threshold as okurigana.</p><p>Finally, most instances of okurigana are due to verb conjugation. As well as taking straight suffixes from the previous models, this final model harvests verbs from Edict. Most verb en­tries in Edict have a tag marking them as <i>ichi-dan, godan </i>or <i>suru </i>verbs.<footnote anchor="4"/> The verb type and stem allow us to conjugate regular verbs vari­ously, giving us a large number of new okurig­ana suffixes not present in the previous models. In order to improve accuracy, all three methods fall back to the baseline method if they do not detect any okurigana.</p></section><section number="5" title="Evaluation"><p>Having teased apart the alignment and okurig­ana detection algorithms, we are in a position to separately evaluate their performance. Our test set for the combined task consists of 5000 ran­domly chosen and manually aligned examples from Edict, from which we then separated out an individual evaluation set for each subtask. Since we are also interested in efficiency, we provide execution time as measured by elapsed time on a standard Pentium 4 desktop PC.<page local="7" global="149"/> Our emphasis however is on the <i>relative </i>time taken by different algorithms rather than the exact time as measured.</p><footnote label="4">The tagset for Edict verbs is larger than this, but the additional tags largely mark subclasses and exceptions of the three main classes, which we ignore for the sake of simplicity.</footnote><p>In the following section we first evaluate alignment and okurigana detection separately, then we evaluate okurigana detection, and fi­nally we assess performance over the combined task.</p><subsection number="5.1" title="Alignment"><p>We first compare the accuracy of the various alignment algorithm variants, as given in Ta­ble <b>1. </b>After some experimentation, parameter values of 0.05 for a, and 2.5 for <i>ws </i>and <i>wu </i>were found to yield the best results, and were hence used to generate the results we discuss here.</p><p>For each of the non-random heuristics, we expect that the iterative version will achieve higher accuracy than the non-iterative version, since the statistical model is rebuilt each itera­tion adding the best example from the last. As such, this represents a time/accuracy trade-off, a fact confirmed by our data (see Table 2). The gain — 2% in the case of TF-IDF, 4% for IDF alone — comes at the cost of an order of magni­tude larger execution time, which also increases exponentially with the number of input entries.</p><p>In contrast, the Kanjidic model consistently achieves a very high accuracy regardless of the heuristic chosen. A large number of entries are immediately disambiguated by the Kanjidic model, thus initially improving accuracy and then facilitating use of more accurate statis­tics in the iterative algorithm without signifi­cant penalty to efficiency. We also expect the Kanjidic model's execution time to scale more moderately with the number of input entries than the original iterative algorithm, since a far lesser proportion of the entries require iterative disambiguation.</p><p>Comparing the individual heuristics at this stage, a surprise is that the IDF heuristic attains equivalent results to the TF-IDF heuristic, sug­gesting that broad occurrence of <i>(g,p) </i>pairs is a good indicator of their alignment probability. The TF heuristic in comparison performs worse than simply choosing randomly, suggesting that the proportion of times a grapheme occurs as the current <i>(g,p) </i>pair is a very poor indication of its alignment probability.</p></subsection><subsection number="5.2" title="Okurigana detection"><p>We now compare the performance of our okurig­ana detection algorithms. All the algorithms we compare are linear in the size of the input and thus run in much less time than the alignment phase, thus efficiency is not a significant criteria in choosing between them. The accuracy found by each model is shown in Table 3.</p><p>Interestingly, the simple model which as­sumes that every potential case of okurigana <i>is </i>okurigana performs extremely well, beaten only by the addition of the Kanjidic common okuri­gana stems. Adding more information to the model about valid okurigana occurrences even reduces the accuracy slightly over our test data.</p><p>Rather than indicating blanket properties of these models, the results suggest properties of our testing data. Since it consists entirely of dic­tionary entries without the common hiragana particles which would occur in open text, this greedy approach is very suitable, and suffers few of the shortcomings which it would normally face.</p><p>In open text, we would consistently expect additional language features between lexical items which would break the assumptions made by our simple model, and thus reduce its ac­curacy dramatically. In contrast, the full verb conjugation model would then be expected to perform best, since it has the most information to accurately detect cases of okurigana even in the presence of other features.</p></subsection><subsection number="5.3" title="Combined task"><p>Selecting the two models which performed best on our test data, we can now evaluate the pair on the combined task. For the alignment sub-task, the IDF heuristic with Kanjidic was used. For the okurigana detection subtask, the sim­ple algorithm is used. The results are shown in Table 4.</p><p>A final accuracy of 96.2% was achieved, with the errors caused mostly in the alignment sub-task.   As predicted, grapheme gapping was a<page local="8" global="150"/></p><table caption="Table 3: Okurigana detection accuracy across models" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Model</b></p></td><td class="cell"><p><b>Accuracy</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Simple Kanjidic Co-occurrence Verb conjugation</p></td><td class="cell"><p>98.1% 98.3% 97.7% 97.7%</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></tr></table><p>Table <b>1: </b>Alignment accuracy across models source of errors only in a small percentage of cases, justifying its exclusion from our model. This level of accuracy if equivalent to that of earlier models, yet it has been achieved with a much lower computational cost. Examples of incorrect alignment are given in Figure 4 below.</p><p>Example (a) shows a grapheme gapping er­ror, where the output, although correctly seg­mented and aligned, attributes the additional <i>s </i>sound to the <i>M </i>kanji instead of detecting it as a gapped grapheme. In example (b) we see a typical alignment error, where one kanji has been attributed part of the reading of another. Finally, example (c) gives an error in okurigana detection, where the <i>n </i>kana is erroneously detected as an okurigana suffix of the # kanji.</p></subsection></section><section number="6" title="Extensions"><p>Although current work is suitable for use with the FOKS system, it is still untested on open text. The lack of suitable aligned data is the main obstacle to creating a system with wider applicability. Of the two subtasks, alignment should remain relatively unchanged in the move to open text, and we expect the IDF algorithm with Kanjidic to continue to perform well.</p><p>Okurigana detection remains the harder problem, for tasks which require it. The verb-conjugation model, despite its relatively poor performance for dictionary entries, suggests it­self as the most fruitful approach to accurate detection for open text, and could easily be ex­tended. In particular, the addition of conju­gation suffixes of high-frequency irregular verbs would be a straightforward way to boost accu­racy.</p></section><section number="7" title="Conclusion"><p>We have decomposed the GP alignment task into an alignment subtask and an okurigana detection subtask, and explored various algo­rithm variants for use in both. In particular, the iterative IDF heuristic with a Kanjidic read­ing model provided the best accuracy in signif­icantly less time than the original algorithm. For the okurigana detection subtask, a simple model outperformed more complicated models of conjugation due to peculiarities of dictionary entries as input to alignment.</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ACCURACY (%)</p></td><td class="cell"><p><b>Random   TF   IDF TF-IDF</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Iterative</b></p><p><b>Single-pass</b></p><p><b>Kanjidic</b></p></td><td class="cell"><p>47.8       23.7   94.7 93.4</p><p>47.3 23.6   90.5 90.8</p><p>94.4 92.9   98.0 97.9</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></tr></table><table caption="Table 2: Alignment execution time across models" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>TIME (M:S)</p></td><td class="cell"><p><b>Random     TF    IDF TF-IDF</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Iterative</b></p><p><b>Single-pass</b></p><p><b>Kanjidic</b></p></td><td class="cell"><p>0:10   24:10   22:47 21:54 0:10     0:11     0:09 0:10 0:12     0:27     0:24 0:24</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></tr></table><table caption="Table 4: Best model accuracy for the combined task" 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>Status</b></p></td><td class="cell"><p><b>Count</b></p></td><td class="cell"><p><b>Percentage</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Correct</p></td><td class="cell"><p>4809</p></td><td class="cell"><p>96.2%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Incorrect</p></td><td class="cell"><p>191</p></td><td class="cell"><p>3.8%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>—&gt; Gapping</p></td><td class="cell"><p>6</p></td><td class="cell"><p>0.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>—&gt; Alignment</p></td><td class="cell"><p>163</p></td><td class="cell"><p>3.3%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>—&gt; Okurigana</p></td><td class="cell"><p>22</p></td><td class="cell"><p>0.4%</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="Figure 4: Examples of incorrect alignment in the combined task" 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>a.</p></td><td class="cell"><p><i>Output Correct</i></p></td><td class="cell"><p><i>M </i><b>1 </b>5§          ma-s <b>1 </b>sa-ka-ri <i>M </i><b>1 </b>5Ü          ma-(s) <b>1 </b>sa-ka-ri "full bloom"</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>b.</p></td><td class="cell"><p><i>Output Correct</i></p></td><td class="cell"><p><b>$5 1 </b><i>W </i><b>1 </b>chi   ha-sa | mi-u | chi <b>R </b><b>1 </b><b>IP </b><b>1 </b>chi   ha-sa-mi | u | chi "pincer attack"</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>c.</p></td><td class="cell"><p><i>Output Correct</i></p></td><td class="cell"><p>#-n <b>1 </b><i>ÏH       </i>a-ka-n | bo-u <i>0</i><i> </i><b>1 </b>n <b>1 </b><i>its</i><i> </i>a-ka | n | bo-u "baby"</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></section><references><p>Jonathan Allen, Sheri Hunnicut, and Dennis Klaff. 1987. <i>From Text To Speech, The MITTALK Sys-</i> <i>tern.</i><page local="9" global="151"/><i> </i>Cambridge University Press, Cambridge, UK.</p><p>Ricardo Baeza-Yates and Berthier Ribiero-Neto. 1999. <i>Modern Information Retrieval. </i>Addison Wesley / ACM press.</p><p>Timothy Baldwin and Hozumi Tanaka. 1999a, The applications of unsupervised learning to Japanese grapheme-phoneme alignment. In <i>Proc. ACL Workshop on Unsupervised Learning in Natural Language, </i>College Park, USA.</p><p>Timothy Baldwin and Hozumi Tanaka. 1999b. Au­tomated Japanese grapheme-phoneme alignment. In <i>Proc. International Conference on Cognitive Science, </i>pages 349-354, Tokyo, Japan.</p><p>Timothy Baldwin and Hozumi Tanaka. 2000. A comparative study of unsupervised grapheme-phoneme alignment methods. In <i>Proc. 22nd An­nual Meeting of the Cognitive ScienceSociety, </i>pages 597-602, Philadelphia, USA.</p><p>Slaven Bilac and Hozumi Tanaka. 2005a, Direct combination of spelling and pronunciation infor­mation for robust back-transliteration. In Alexan­der Gelbukh, editor, <i>Computational Linguistics and Intelligent Text Processing, </i>pages 413-424. January.</p><p>Slaven Bilac and Hozumi Tanaka. 2005b. Improv­ing back-transliteration by combining information sources. In Keh-Yih Su, Junichi Tsujii, Jong-Hyeok Lee, and Oi Yee Kwong, editors, <i>Proc. 1st International Joint Conference on Natural Lan­guage Processing, </i>pages 216-223, January.</p><p>Slaven Bilac, Timothy Baldwin, and Hozumi Tanaka. 1999. Incremental Japanese grapheme-phoneme alignment. In <i>Information Processing Society of Japan SIG Notes, </i>volume 99-NL-209, pages 47-54.</p><p>Slaven Bilac, Timothy Baldwin, and Hozumi Tanaka. 2002. Bringing the dictionary to the user: the FOKS system. In <i>Proc. 19th Interna­tional Conference on Computational Linguistics, </i>pages 85-91, Taipei, Taiwan.</p><p>Slaven Bilac. 2002. Intelligent dictionary interface for learners of Japanese. Master's thesis, Tokyo Institute of Technology.</p><p>Alan W. Black, Kevin A. Lenzo, and Vincent Pagel. 1998. Issues in building general letter to sound rules. In <i>Proc. 3rd ESC A Workshop on Speech Synthesis, </i>pages 77-80, Jenolan Caves, Australia,</p><p>Jim   Breen.     1995.     <i>Building   an electronic Japanese-English  dictionary.    </i>Japanese Stud­ies    Association    of    Australia Conference <b>(http </b><b>://</b>www.esse.monash.edu.au/~j <b>wb/ </b><b>j saa_paper/hpaper.html).</b></p><p>Peter F. Brown, Stephen A. Delia Pietra, Vincent J. Delia Pietra, and Robert L. Mercer. 1993. The mathematics of statistical machine translation: Parameter estimation. <i>Computational Linguis­tics, </i>19(2):263-311.</p><doubt alpha="66.7" length="45" tooSmall="False" monospace="0.0">Kevin Knight and Jonathan Graehl.   1998. Ma-</doubt><p>chine transliteration. <i>Computational Linguistics, </i>24(4):599-612.</p><p>Grzegorz Kondrak. 2003. Identifying complex sound correspondences in bilingual wordlists. In Alexander Gelbukh, editor, <i>Proc. </i><i>4th </i><i>Interna­tional Conference on Computational Linguistics and Intelligent Text Processing, </i>pages 432-443, Berlin. Springer-Verlag.</p><p>Christopher D. Manning and Hinrich Schütze. 2000. <i>Foundations of Statistical Natural Language Pro­cessing. </i>MIT Press, Cambridge, Massachusetts.</p><p>V. Pagel, K. Lenzo, and A.W. Black. 1998. Letter to sound rules for accented lexicon compression. In <i>Proc. 5th International Conference on Spoken Language Processsing, </i>pages 252-255.</p><p>Eric Rosen. 2003. Systematic irregularity in Japanese rendaku: How the grammarmediates patterned lexical exceptions. <i>Canadian Journal of Linguistics, </i>(48):l-37.</p><p>T. Sejnowski and C. Rosenberg. 1987. Parallel net­works that learn to pronounce English text. <i>Com­plex Systems, </i>1:145-168.</p><p>Richard Sloat. 1996. Multilingual text analysis for text-to-speech synthesis. <i>Natural Language Engi­neering, </i>4(2).</p><p>Timothy J. Vance. 1987. <i>An Introduction to Japanese Phonology. </i>SUNY Press, New York.</p><p>Jianna Jian Zhang, Howard J. Hamilton, and Nick J. Cercone. 1999. Learning english grapheme seg­mentation using the iterated version space algo­rithm. In Andrzej Skowron and Zbigniew W. Ras, editors, <i>Proc. 11th International Symposium on Methodologies for Intelligent Systems, </i>Warsaw, Poland. Springer-Verlag.</p></references></body></article>