<?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="41"/><title>Myanmar Word Segmentation using Syllable level Longest Matching</title><pubinfo>The 6th Workshop on Asian Languae Resources, 2008</pubinfo><author surname="Htay" givenname="Hla Hla"><org  name="University of Hyderabad" country="India" city="Hyderabad"/></author><author surname="Murthy" givenname="Kavi Narayana"><org  name="University of Hyderabad" country="India" city="Hyderabad"/></author></firstpageheader><frontmatter><p><b>Myanmar Word Segmentation using Syllable level Longest Matching</b></p><p><b>Hla Hla Htay, Kavi Narayana Murthy</b></p><p>Department of Computer and Information Sciences University of Hyderabad, India hla_hla_htay@yahoo.co.uk, knmuh@yahoo.com</p></frontmatter><abstract><b><i>In </i>Myanmar <i>language, sentences are clearly delimited by a unique sentence boundary marker but are written without necessarily pausing between words with spaces. It is therefore non-trivial to seg­ment sentences into words. Word tokeniz-ing plays a vital role in most Natural Lan­guage Processing applications. We observe that word boundaries generally align with syllable boundaries. Working directly with characters does not help. It is therefore useful to syllabify texts first. Syllabification is also a non-trivial task in Myanmar. We have collected 4550 syllables from avail­able sources . We have evaluated our syl­lable inventory on 2,728 sentences spread over 258 pages and observed a coverage of 99.96%. In the second part, we build word lists from available sources such as dic­tionaries, through the application ofmor-phological rules, and by generating syllable n-grams as possible words and manually checking. We have thus built list of800,000 words including inflected forms. </i></b><b><i>We</i></b><b><i> have tested our algorithm on a </i>5000 <i>sentence test data set containing a total of </i>(35049 <i>words) and manually checked for evaluat­ing the performance. The program recog­nized </i>34943 <i>words of which </i>34633 <i>words were correct, thus giving us a Recall of 98.81%, a Precision of 99.11% and a F-Measure is 98.95%.</i></b> <b>Key Words:- </b>Myanmar, Syllable, Words, Seg­mentation, Syllabification, Dictionary </abstract></header><body><section title="I Introduction"><p>Myanmar <i>(Burmese) </i>is a member of the Burmese-Lolo group of the Sino-Tibetan language spoken by about 21 Million people in Myanmar (Burma). It is a tonal language, that is to say, the meaning of a syllable or word changes with the tone. It has been classified by linguists as a mono-syllabic or isolating language with agglutinative features. According to history, Myanmar script has originated from <i>Brahmi </i>script which flourished in India from about 500 B.C. to over 300 A.D (MLC, 2002). The script is syllabic in nature, and written from left to right.</p><p>Myanmar script is composed of 33 consonants,</p><p>II basic vowels, 11 consonant combination sym­bols and extension vowels, vowel symbols, devow-elizing consonants, diacritic marks, specified sym­bols and punctuation marks(MLC, 2002),(Thu and Urano, 2006). Myanmar script represents sequences of syllables where each syllable is constructed from consonants, consonant combination symbols (i.e. Medials), vowel symbols related to relevant conso­nants and diacritic marks indicating tone level.</p><p>Myanmar has mainly <b>9 </b>parts of speech: noun, pronoun, verb, adjective, adverb, particle , conjunc­tion, post-positional marker and interjection (MLC, 2005), (Judson, 1842).</p><p>In Myanmar script, sentences are clearly delim­ited by a sentence boundary marker but words are not always delimited by spaces. Although there is a general tendency to insert spaces between phrases, inserting spaces is more of a convenience rather than<page local="2" global="42"/></p><p>The 6th Workshop on Asian Languae Resources, 2008</p><p>a rule. Spaces may sometimes be inserted between words and even between a root word and the associ­ated post-position. In fact in the past spaces were rarely used. Segmenting sentences into words is therefore a challenging task.</p><p>Word boundaries generally align with syllable boundaries and syllabification is therefore a useful strategy. In this paper we describe our attempts on syllabification and segmenting Myanmar sentences into words. After a brief discussion of the corpus collection and pre-processing phases, we describe our approaches to syllabification and tokenization into words.</p><p>Computational and quantitative studies in Myan­mar are relatively new. Lexical resources available are scanty. Development of electronic dictionaries and other lexical resources will facilitate Natural Language Processing tasks such as Spell Checking, Machine Translation, Automatic Text summariza­tion, Information Extraction, Automatic Text Cate­gorization, Information Retrieval and so on (Murthy, 2006).</p><p>Over the last few years, we have developed <i>mono­lingual text corpora </i>totalling to about 2,141,496 sentences and <i>English-Myanmar parallel corpora </i>amounting to about 80,000 sentences and sentence fragments, aligned at sentence and word levels. We have also collected word lists from these corpora and also from available dictionaries. Currently our <i>word list </i>includes about 800,000 words including in­flected forms.</p></section><section number="2" title="Myanmar Words"><p>Myanmar words are sequences of syllables. The syl­lable structure of Burmese is C(G)V((V)C), which is to say the onset consists of a consonant option­ally followed by a glide, and the rhyme consists of a monophthong alone, a monophthong with a con­sonant, or a diphthong with a consonant <footnote anchor="1"/>. Some representative words are:</p><doubt alpha="60.0" length="15" tooSmall="False" monospace="0.0">• CV [mei] girl</doubt><doubt alpha="55.6" length="18" tooSmall="False" monospace="0.0">• CVC [me '] crave</doubt><doubt alpha="66.7" length="18" tooSmall="False" monospace="0.0">• CGV [mjei] earth</doubt><doubt alpha="58.8" length="17" tooSmall="False" monospace="0.0">• CGVC [mje ']eye</doubt><footnote label="1"> http://en.wikipedia.org/wiki/Burmese .language</footnote><p>• CVVC [maun] (term of address for young men)</p><p>• CGVVC [mjaun] ditch</p><p>Words in the Myanmar language can be divided into simple words, compound words and complex words (Tint, 2004),(MLC, 2005),(Judson, 1842). Some examples of compound words and loan words are given below.</p><p>• Compound Words</p><doubt alpha="47.7" length="44" tooSmall="False" monospace="0.0">- head [u:]g:+ pack [htou ']aj&gt;6 = hat [ou '</doubt><doubt alpha="66.7" length="12" tooSmall="False" monospace="0.0">htou ']g:ajo</doubt><doubt alpha="58.2" length="79" tooSmall="False" monospace="0.0">language [sa] + look,see [kji.] + [tai'] building      = library [sa kji. dai']</doubt><doubt alpha="28.6" length="14" tooSmall="False" monospace="0.0">§c   o cE20?00</doubt><doubt alpha="63.4" length="41" tooSmall="False" monospace="0.0">- sell [yaun:]G«pc:+ buy [we]ooS= trading</doubt><p><b>GcpcsooS </b><i>[yaun : we]</i></p><p>• Loan Words</p><p>- [kun pju ta] computer - [hsa ' ko ma ti] sub-committee</p><doubt alpha="64.7" length="17" tooSmall="False" monospace="0.0">- [che ri] cherry</doubt></section><section number="3" title="Corpus Collection and Preprocessing"><p>Development of lexical resources is a very tedious and time consuming task and purely manual ap­proaches are too slow. We have downloaded Myan­mar texts from various web sites including news sites including official newspapers, on-line maga­zines, trial e-books (over <i>300 </i>full books) as well as free and trial texts from on-line book stores includ­ing a variety of genres, types and styles - modern and ancient, prose and poetry, and example sentences from dictionaries. As of now, our corpus includes <i>2,141,496 </i>sentences.</p><p>The downloaded corpora need to be cleaned up to remove hypertext markup and we need to extract text if in pdf format. We have developed the necessary scripts in Perl for this. Also, different sites use dif­ferent font formats and character encoding standards are not yet widely followed. We have mapped these various formats into the standard <i>WinInnwa </i>font for­mat. We have stored the cleaned up texts in ASCII format and these pre-processed corpora are seen to be reasonably clean.</p><page local="3" global="43"/><p>The 6th Workshop on Asian Languae Resources, 2008</p></section><section number="4" title="Collecting Word Lists"><p>Electronic dictionaries can be updated much more easily than published printed dictionaries, which need more time, cost and man power to bring out a fresh edition. Word lists and dictionaries in elec­tronic form are of great value in computational lin­guistics and NLP. Here we describe our efforts in developing a large word list for Myanmar.</p><subsection number="4.1" title="Independent Words"><p>As we keep analyzing texts, we can identify some words that can appear independently without com­bining with other words or suffixes. We build a list of such valid words and we keep adding new valid words as we progress through our segmentation pro­cess, gradually developing larger and larger lists of valid words. We have also collected from sources such as Myanmar Orthography(MLC, 2003), CD versions of English-English-Myanmar (Student's Dictionary)(stu, 2000) and English-Myanmar Dic­tionary (EMd, ) and Myanmar-French Dictionary (damma sami, 2004). Currently our word list in­cludes 800,000 words.</p></subsection><subsection number="4.2" title="Stop Word Removal"><p>Stop words include prepositions/post-positions, con­junctions, particles, inflections etc. which ap­pear as suffixes added to other words. They form closed classes and hence can be listed. Pre­liminary studies therefore suggested that Myan­mar words can be recognized by eliminating these stop words. Hopple (Hopple, 2003) also notices that particles ending phrases can be removed to recognize words in a sentence. We have col­lected stop words by analyzing official newspa­pers, Myanmar grammar text books and CD ver­sions of English-English-Myanmar (Student's Dic-tionary)(stu, 2000), English-Myanmar Dictionary (EMd,) and The Khit Thit English-Myanmar dictio­nary (Saya, 2000). We have also looked at stop word lists in English (www.syger.com,) and mapped them to equivalent stop words in Myanmar. See Table 1. As of now, our stop words list contains 1216 en­tries. Stop words can be prefixes of other stop words leading to ambiguities. However, usually the longest matching stop word is the right choice.</p><p>Identifying and removing stop words does not always necessarily lead to correct segmentation of sentences into words. Both under and over segmen­tation are possible. When stop-words are too short, over segmentation can occur. Under segmentation can occur when no stop-words occur between words. Examples of segmentation can be seen in Table 2. We have observed that over segmentation is more frequent than under segmentation.</p></subsection><subsection number="4.3" title="Syllable N-grams"><p>Myanmar language uses a syllabic writing system unlike English and many other western languages which use an alphabetic writing system. Interest­ingly, almost every syllable has a meaning in Myan­mar language. This can also be seen from the work of Hopple (Hopple, 2003).</p><p>Myanmar Natural Language Processing Group has listed 1894 syllables that can appear in Myan­mar texts (Htut, 2001). We have observed that there are more syllables in use, especially in foreign words including Pali and Sanskrit words which are widely used in Myanmar.  We have collected other pos-<page local="4" global="44"/></p><table caption="Table 1: Stop-words of English Vs Myanmar" 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>Nominative personal pronouns</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>I</p></td><td class="cell"><p>ogj|eox&gt;[kjun do], og||«[kjama.], d [nga], ojjp[kjou ^, o)|G,|ô[kjano], og||5[kjanou /], cqja [kjama.]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Possessive pronouns and adjectives</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>my</p></td><td class="cell"><p>ogj|o«Si [kjou / i.],og||eœôafi [kjun do i.], ogj|««Si [kjama. i.]^^^ô«§ [kjanou / i.], cqaaSi [kja ma. i.],c)s\_[nga i.],ojj[ocl-[kjou / i.], &lt;W%[kj ou / je.^ogilGœSc^kjun do je.], ogilac^kjama. je.]^^^oèl-[kjanou / je.], cqjö^jkja ma. je.],c1s\,[nga je.], cqpc^kj ou / je.],og||eœo[kjun do.], cqe,fo[kjano.]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Indefinite pronouns and adjectives</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>some</p></td><td class="cell"><p>3s%[achou.],3s%G:»o[achou. tho:], ra%[tachou.],ra%e:»o[achou. tho:],</p><p>[ta chou.ta chou.], craqi raeco [ta chou.ta lei]</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: Removing stop-words for segmentation" 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></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"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[waing: win: chi: kyu: khanya]</p></td><td class="cell"><p>[a nay khak]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>received compliments</p></td><td class="cell"><p>abashed</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><i>V</i><i>past</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[kyaung: aop hsayakyi:]</p></td><td class="cell"><p>[a kyan: phak mhu]</p></td><td class="cell"><p>[sak sop]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>The headmaster</p></td><td class="cell"><p>violence</p></td><td class="cell"><p>abhors</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><i>Nobj</i></p></td><td class="cell"><p>V<i>'present</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></tr></table><p>The 6th Workshop on Asian Languae Resources, 2008</p><p>sible syllables from the Myanmar-English dictio-nary(MLC, 2002). Texts collected from the Internet show lack of standard typing sequences. There are several possible typing sequences and correspond­ing internal representations for a given syllable. We include all of these possible variants in our list. Now we have over <b>4550 </b>syllables.</p><p>We have developed scripts in Perl to syllabify words using our list of syllables as a base and then generate n-gram statistics using Text::Ngrams which is developed by Vlado Keselj (Keselj, 2006). This program is quite fast and it took only a few min­utes on a desktop PC in order to process 3.5M bytes of Myanmar texts. We have used "-type=word" op­tion treating syllables as words. We had to mod­ify this program a bit since Myanmar uses zero (as "(0) wa " letter) and the other special characters ( "&lt;", "&gt;", "&amp;", "[","]" etc.) which were be­ing ignored in the original Text::Ngrams software. We collect all possible words which is composed of n-grams of syllables up to 5-grams. Table 1 shows some words which are collected through n-gram analysis. Almost all monograms are meaning­ful words. Many bi-grams are also valid words and as we move towards longer n-grams, we generally get less and less number of valid words. See Table 3. Further, frequency of occurrence of these n-grams is a useful clue. See Table 4.</p><p>By analyzing the morphological structure of words we will be able to analyze inflected and de­rived word forms. A set of morphemes and mor­phological forms have been collected from (MLC, 2005) and (Judson, 1842) . See Table 5. For exam­ple, the four-syllable word in Table 3 is an adverb " [htu: htu: ke: ke:] outstanding derived from the verb "     ". See Table 3.</p><p>Statistical construction of machine readable dic­tionaries has many advantages. New words which appear from time to time such as Internet, names of medicines, can also be detected. Compounds words also can be seen. Common names such as names of persons, cities, committees etc. can be also mined. Once sufficient data is available, statistical analysis can be carried and techniques such as mutual information and maximum entropy can be used to hypothesize possible words.</p></subsection><subsection number="4.4" title="Words from Dictionaries"><p>Collecting words using the above three mentioned methods has still not covered all the valid words in our corpus. We have got only 150,000 words. Words collected from n-grams needs exhaustive hu­man effort to pick the valid words. We have therefore collected words from two on-line dictio­naries - the English-English-Myanmar (Student's Dictionary) (stu, 2000), English-Myanmar Dictio­nary (EMd, ) and from two e-books - French-Myanmar(damma sami, 2004), and Myanmar Or­thography (MLC, 2003). Fortunately, these texts can be transformed into winninnwa font. We have<page local="5" global="45"/></p><table caption="Table S: Examples of Collected N-grams" 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>Bigram bisyllables</p></td><td class="cell"><p>Trigram S-syllables</p></td><td class="cell"><p>4-gram 4-syllables</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>lantern [hpan ein]</p></td><td class="cell"><p>with a big sound [boun: gane:]</p></td><td class="cell"><p>whole-heartedly [hni ' hni ' ka ga]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>glassware [hpan tha:]</p></td><td class="cell"><p>effortlessly [swei. gane:]</p></td><td class="cell"><p><i>cq-.cq-.œœ </i>outstanding [htu: htu: ke: ke:]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>co|&lt;s©ocs bank of lake [kan saun:]</p></td><td class="cell"><p>fuming with rage [htaun: gane:]</p></td><td class="cell"><p>many,much [mja: mja: sa: za:]</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 4: Syllable Structure ofWords" 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>No. of syllables</p></td><td class="cell"><p>No of words</p></td><td class="cell"><p>Example</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>4550</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Good(Adj)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[kaun:]</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>59964</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Butterfly, Soul (N)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[lei ' pja]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>170762</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Window (N)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[b adin: bau ' ]</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>274775</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Domestic Product (N)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[pji dwin: htou ' koun]</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>199682</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[hlja ' si ' ht a min: ou:]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Rice Cooker(N)</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>99762</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Nurse(female) (N)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[thu na bju. hs aja ma.]</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>41499</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>become friend (V)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[jin: hni: thwa: kya. peito. thi]</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>14149</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Union of Myanmar (N)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[pji daun zu. mj ama nain gan to ]</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>4986</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Natural Resources (N)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[thanjan za ta. ajin: amji ']</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>1876</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>be agitated or shaken(V)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[ chei makain mi. le ' makain mi. hpji ' thi]</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><p>The 6th Workshop on Asian Languae Resources, 2008</p><p>written Perl scripts to convert to the standard font. Myanmar Spelling Bible lists only lemma (root words). We have suffixed some frequently used mor­phological forms to these root words.</p><p>There are lots of valid words which are not de­scribed in published dictionaries. The entries of words in the Myanmar-English dictionary which is produced by the Department of the Myanmar Lan­guage Commission are mainly words of the com­mon Myanmar vocabulary. Most of the compound words have been omitted in the dictionary (MLC, 2002). This can be seen in the preface and guide to the dictionary of the Myanmar-English dictio­nary produced by Department of the Myanmar Lan­guage Commission, Ministry of Education. 4-syllables words like " <b>oj:oj:so^:so</b>^: "[htu: htu: zan: zan:] (strange), " og:ag:oooo " [htu: htu: ke: ke:](outstanding) and " <b>oj:oj:go:go: </b>" [htu: htu: gja: gja:](different)(see Table 3) are not listed in dictio­nary although we usually use those words in every day life.</p><p>With all this, we have been able to collect a total of about 800,000 words. As we have collected words from various sources and techniques, we believe we have fairly good data for further work.</p></subsection></section><section number="5" title="Syllabification and Word Segmentation"><p>Since dictionaries and other lexical resources are not yet widely available in electronic form for Myanmar language, we have collected 4550 possible syllables including those used in Pali and foreign words such as ), considering different typing sequences and corresponding internal representations, and from the 800,000 strong Myanmar word-list we have built. With the help of these stored syllables and word lists, we have carried out syllabification and word segmentation as described below. Many researchers have used longest string matching (An­gell et al., 1983),(Ari et al., 2001) and we follow the same approach.</p><p>The first step in building a word hypothesizer is syllabification of the input text by looking up sylla­ble lists. In the second step, we exploit lists of words (viewed as n-grams at syllable level) for word seg­mentation from left to right.</p><subsection number="5.1" title="Syllabification"><p>As an initial attempt we use longest string matching alone for Myanmar text syllabification. Examples are shown in Table 7.</p><p><b>Pseudo code </b>Here we go from left-to-right in a greedy manner:</p><p><b>sub </b><i>syllabification^</i> <b>Load </b>the set of syllables from syllable-file <b>Load </b>the sentences to be processed from sentence-file <b>Store </b>all syllables of length <i>j </i>in <i>N</i><i>j </i>where <i>j </i>=10.-1 <b>for-each </b><i>sentence </i><b>do</b> length —— length of the sentence<page local="6" global="46"/></p><table caption="Table 5: Example patterns of Myanmar Morphological Analysis" 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>A</p><p>basic unit 1 syllable</p></td><td class="cell"><p>B</p><p>(Verb)=</p><p>A + MJ)</p></td><td class="cell"><p>C</p><p>(Noun)=</p><p>3S+A</p></td><td class="cell"><p>D</p><p>(Negative)=</p><p>Ö+A+ 3Jt</p></td><td class="cell"><p>E</p><p>(Noun)=</p><p>A+S</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Gœoci </i>[kaun:] good (Adj)</p></td><td class="cell"><p>&lt;SCDOC:Cüj}5</p><p>[kaun: thi] is good</p></td><td class="cell"><p>33GCDOC!</p><p>[a kaun:] good</p></td><td class="cell"><p>[ma. kaun: bu:] Not good</p></td><td class="cell"><p>[kaun: mhu.] good deeds</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[hso:] bad (Adj)</p></td><td class="cell"><p>[hso: thi] is bad</p></td><td class="cell"><p>33 <b>s^:</b></p><p>[a hso:] bad</p></td><td class="cell"><p>[ma. hso: bu:] Not bad</p></td><td class="cell"><p>[hso: mhu.] Bad Deeds</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>&lt;sspc:</p><p>[jaun:]sell(Verb)</p></td><td class="cell"><p>[jaun: thi] sell</p></td><td class="cell"><p>[ajaun:] sale</p></td><td class="cell"><p>[ma. jaun: bu:] not sell</p></td><td class="cell"><p>[jaun: mhu.] sale</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>GS}!</p><p>[jei:] write(Verb)</p></td><td class="cell"><p>[jei: thi] write</p></td><td class="cell"><p>33GS}!</p><p>[a jei:] writing</p></td><td class="cell"><p>[ma. jei: bu:] do not write</p></td><td class="cell"><p>esl:S [jei: mhu.]</p><p>writing</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>#&gt; [pjo:]talk,speak(Verb)</p></td><td class="cell"><p>[pjo: thi] talk,speak</p></td><td class="cell"><p>33&lt;s(&lt;p</p><p>[apjo:] talk,speech</p></td><td class="cell"><p>0«g03Jt</p><p>[ma. pjo: bu:] not talk,speak</p></td><td class="cell"><p>[pjo: mhu.] talking</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 6: Syllables with different typing sequences" 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>On screen</p></td><td class="cell"><p><b>H!</b></p></td><td class="cell"><p><b>4</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><b>4</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>In ascii</p></td><td class="cell"><p>MuD:</p></td><td class="cell"><p>udk</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>BuD:</p></td><td class="cell"><p>ukd</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><p>The 6th Workshop on Asian Languae Resources, 2008</p><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">pos—0</doubt><doubt alpha="61.3" length="31" tooSmall="False" monospace="0.0">while(length &gt;0)do forj=10..1do</doubt><p><b>for-each </b>syllable in <i>Nj </i><b>do</b> <b>if </b>string-match <i>sentence(pos, pos -</i>Syllable found. Mark syllable <i>pos — pos </i>+ <i>j length — length — j </i><b>End </b>if <b>End </b>for <b>End </b>for <b>End </b>while <b>Print </b>syllabified string <b>End </b>for <b>for-each </b>word in <i>N</i><i>j </i><b>do</b> <b>if </b>string-match <i>sentence(pos, pos -</i>word found. Mark word - j) with syllable <i>pos —— pos </i>+ <i>j</i></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">}</doubt><doubt alpha="50.0" length="12" tooSmall="False" monospace="0.0">forj=10..1do</doubt><doubt alpha="65.0" length="20" tooSmall="False" monospace="0.0">length —— length — j</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">Endif</doubt><p><b>End </b>for <b>End </b>for <b>End </b>while <b>Print </b>tokenized string <b>End </b>for <i>j)</i><i> </i>with word</p><p>We have evaluated our syllables list on a collec­tion of 11 short novels entitled <i>"Orchestra" </i>06-c|oS:§c:[than zoun ti: wain:], written by <b>"Nikoye" </b>(Ye, 1997) which includes 2,728 sentences spread over 259 pages including a total of 70,384 sylla­bles. These texts were syllabified using the longest matching algorithm over our syllable list and we observed that only 0.04% of the actual syllables were not detected. The Table 6 shows that differ­ent typing sequences ofsyllables were also detected. Here are some examples of failure: §t&gt;$:[rkdCf;]and foS:[rkdvf;] which are seldom used in text. The typ­ing sequence is also wrong. Failures are generally traced to• differing combinations of writing sequences</p><p>• loan words borrowed from foreign languages</p><p>• rarely used syllables not listed in our list <b>5.2   Word Segmentation</b></p><p><i>W</i>e have carried out tokenization with longest sylla­ble word matching using our 800,000 strong stored word list. This word list has been built from avail­able sources such as dictionaries, through the ap­plication of morphological rules, and by generating syllables n-grams and manually checking. An exam­ple sentence and its segmentation is given in Table 8.</p><p><b>Load </b>the set of words from word-file <b>for-each </b><i>word </i><b>do</b> <i>i — syllabification{word);</i></p><p><b>Store </b>all words of syllable length <i>i </i>in <i>Ni </i>where <i>i </i>=10.-1 <b>End </b>for <b>Load </b>the sentences to be processed from sentence-file <b>for-each </b><i>sentence </i><b>do</b> length <i>—syllabification{sentence);</i> #length of the sentence in terms of syllables <b>while </b><i>(length &gt; </i>0) <b>do</b></p></subsection></section><section number="6" title="Evaluation and Observations"><p>We have segmented <i>5000 </i>sentences including a to­tal of <i>(35049 </i>words) with our programs and manu­ally checked for evaluating the performance. These sentences are from part of the English-Myanmar parallel corpus being developed by us (Htay et al., 2006). The program recognized <i>34943 </i>words of which <i>34633 </i>words were correct, thus giving us a Recall of 98.81% and a Precision of 99.11%. The F-Measure is 98.95%. The algorithm suffers in ac­curacy in two ways:</p><p><b>Out-of-vocabulary Words: </b>Segmentation error can occur when the words are not listed in dictionary. No lexicon contains every possible word of a language. There always exist out-of-vocabulary words such as new derived words, new compounds words, morphological variations of existing words and technical words (Park, 2002). In order to check the effect of out-of-vocabulary words, we took a new set of 1000 sentences (7343 words). We have checked manually and noticed <i>329 </i>new words, that is about 4% of the words are not found in our list, giving us a coverage of about 96%.</p><p><b>Limitations of left-to-right processing:</b></p><p>Segmentation errors can also occur due to the limitations of the left-to-right processing. See the example 1 in Table 9. The algorithm suffers most in recognizing the sentences which have the word <i>He </i>[thu] followed by a <i>negative verb </i>starting with the particle [ma.]. The program wrongly segments <i>she </i>as he. Our text collection obtains from various sources and the word "she" is used as [thu ma.] in modern novels and Internet text. Therefore, our<page local="7" global="47"/></p><p>The 6th Workshop on Asian Languae Resources, 2008</p><p>word list contains she . This problem can be solved by standardization. Myanmar Language Commission (MLC, 1993) has advised that the words "she" and "he" should be written only as and the word representing a feminine pronoun should not be used. For example 2 in Table 9, the text can be segmented means "encourage" and 2) [particle for indicating dative case] and give [pei:</p><doubt alpha="62.2" length="37" tooSmall="False" monospace="0.0">into two ways. 1) [a: pei: thi] which</doubt><p>thi].   Because of greedy search from left to right, our algorithm will always segment as no matter what the context is.</p><p>In order to solve these problems, we are plan to use machine learning techniques which 1) can also detect real words dynamically (Park, 2002) while we are segmenting the words and 2) correct the greedy cut from left to right using frequencies of the words from the training samples.</p><p>Although our work presented here is for Myan­mar, we believe that the basic ideas can be applied to any script which is primarily syllabic in nature.</p></section><section number="7" title="Conclusions"><p>Since words are not uniformly delimited by spaces in Myanmar script, segmenting sentences into words is an important task for Myanmar NLP. In this pa­per we have described the need and possible tech­niques for segmentation in Myanmar script. In par­ticular, we have used a combination of stored lists, suffix removal, morphological analysis and syllable level n-grams to hypothesize valid words with about 99% accuracy. Necessary scripts have been writ­ten in Perl. Over the last few years, we have collected monolingual text corpora totalling to about 2,141,496 sentences and English-Myanmar parallel corpora amounting to about 80,000 sentences and sentence fragments, aligned at sentence and word levels. We have also built a list of 1216 stop words, 4550 syllables and 800,000 words from a variety of sources including our own corpora. We have used fairly simple and intuitive methods not requir­ing deep linguistic insights or sophisticated statisti­cal inference. With this initial work, we now plan to apply a variety of machine learning techniques. We hope this work will help to accelerate work in Myanmar language and larger lexical resources will be developed soon.</p><table caption="Table 7: Example syllabification" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><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"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>aumfzDaomuf&amp;if;tefwDESihftvyovyajymaecJhonf</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>5</p></td><td class="cell"><p>scoooS</p></td><td class="cell"><p><i>4-.</i></p></td><td class="cell"><p></p></td><td class="cell"><p>o5</p></td><td class="cell"><p></p></td><td class="cell"><p><i>m</i></p></td><td class="cell"><p>CO</p></td><td class="cell"><p>u</p></td><td class="cell"><p>CO</p></td><td class="cell"><p>CO</p></td><td class="cell"><p>o</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><i>i</i></p></td><td class="cell"><p>topS</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>aumf</p></td><td class="cell"><p>zD</p></td><td class="cell"><p>aomuf</p></td><td class="cell"><p>&amp;if;</p></td><td class="cell"><p>tef</p></td><td class="cell"><p>wD</p></td><td class="cell"><p>ESihf</p></td><td class="cell"><p>t</p></td><td class="cell"><p>v</p></td><td class="cell"><p>y</p></td><td class="cell"><p>o</p></td><td class="cell"><p>v</p></td><td class="cell"><p>y</p></td><td class="cell"><p>ajym</p></td><td class="cell"><p>ae</p></td><td class="cell"><p>cJh</p></td><td class="cell"><p>onf</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[ko]</p></td><td class="cell"><p>[hpi]</p></td><td class="cell"><p>[thau ' ]</p></td><td class="cell"><p>[jin:]</p></td><td class="cell"><p>[an]</p></td><td class="cell"><p>[ti]</p></td><td class="cell"><p>[hnin.]</p></td><td class="cell"><p>[a]</p></td><td class="cell"><p>[la]</p></td><td class="cell"><p>[pa.]</p></td><td class="cell"><p>[tha.]</p></td><td class="cell"><p>[la]</p></td><td class="cell"><p>[pa.]</p></td><td class="cell"><p>[pjo]</p></td><td class="cell"><p>[nei]</p></td><td class="cell"><p>[khe.]</p></td><td class="cell"><p>[thi]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Having his coffee,</p></td><td class="cell"><p>he chit-chat with the lady.</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><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 8: A sentence being segmented into words" 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"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Goqpc : 3^ ô so sp[^ :</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>°?</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[kyaung: aop hsa ya kyi:]</p></td><td class="cell"><p>[thi]</p></td><td class="cell"><p>[a kyan: phak mhu]</p></td><td class="cell"><p>[ko]</p></td><td class="cell"><p>[sak sop thi]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>The headmaster</p></td><td class="cell"><p></p></td><td class="cell"><p>violence</p></td><td class="cell"><p></p></td><td class="cell"><p>abhors</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Particle</p></td><td class="cell"><p>N0bj</p></td><td class="cell"><p>Particle</p></td><td class="cell"><p>V<i>present</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></tr></table><table caption="Table 9: Analysis ofOver-Segmentation" 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>ootgS</b></p></td><td class="cell"><p><b>age</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>olocàoo^</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[damja. hmu.]</p></td><td class="cell"><p>[twin]</p></td><td class="cell"><p>[thu ma.]</p></td><td class="cell"><p>[pa wun khe. bu;]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>robbery</p></td><td class="cell"><p>in</p></td><td class="cell"><p>she</p></td><td class="cell"><p>did not involve</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>N</p></td><td class="cell"><p>Particle</p></td><td class="cell"><p><i>Nsubj</i></p></td><td class="cell"><p>V<i>pastneg</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Example 2: <b>«««c^^cGX)Ocooo|o^:^co©ol:33o:Go:coj</b>;»ii</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></p></td><td class="cell"><p><b>cooo|</b></p></td><td class="cell"><p>°?</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>[mi. mi.]</p></td><td class="cell"><p>[ma. lou chin tho:]</p></td><td class="cell"><p>[ta wun]</p></td><td class="cell"><p>[gou]</p></td><td class="cell"><p>[thu daba:]</p></td><td class="cell"><p>[a: pei: thi]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>I,myself</p></td><td class="cell"><p>don't want</p></td><td class="cell"><p>duty,responsibility</p></td><td class="cell"><p></p></td><td class="cell"><p>others</p></td><td class="cell"><p>encourage</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Nsubj</p></td><td class="cell"><p>Vneg</p></td><td class="cell"><p>Nobji</p></td><td class="cell"><p>Particle</p></td><td class="cell"><p>Nobj2</p></td><td class="cell"><p>V</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></section><references><p>Richard C. Angell, George W. Freurd, and Peter Willett. 1983. Automatic spelling correction using a trigram similarity measure. <i>Information Processing &amp; Man­agement, </i>19(4):255-261.</p><p>Pirkola Ari, Heikki Keskustalo, Erkka Leppnen, Antti-Pekka Knsl, and Kalervo Jrvelin. 2001. Targeted s­gram matching: a novel n-gram matching technique for cross- and monolingual word form variants. <i>Infor­mation Research, </i>7(2):235-237, january.</p><p>U damma sami. 2004. <i>Myanmar-French Dictionary.</i></p><p>English-myanmar dictionary. Ministry of Education, Union of Myanmar,CD version.</p><p>Paulette Hopple. 2003. <i>The structure ofnominalization in Burmese,Ph.D thesis. </i>May.</p><p>Hla Hla Htay, G. Bharadwaja Kumar, and Kavi Narayana Murthy. 2006. Building english-myanmar parallel corpora. In <i>Fourth International Conference on Com­puter Applications, </i>pages 231-238, Yangon, Myan­mar, Feb.</p><page local="8" global="48"/><p>The 6th Workshop on Asian Languae Resources, 2008</p><p>Example 1:</p><p>Zaw Htut. 2001. All possible myanmar syllables, September.</p><p>Adoniram Judson. 1842. <i>Grammatical Notices ofthe Buremse Langauge. </i>Maulmain: American Baptist Mission Press.</p><p>Vlado   Keselj. 2006. Text ::ngrams.</p><p>http://search.cpan.org/ vlado/ Text-Ngrams-1.8/, November.</p><p>MLC. 1993. <i>Myanmar Words Commonly Misspelled and Misused. </i>Department of the Myanmar Language Commission,Ministry of Education, Union of Myan­mar.</p><p>MLC. 2002. <i>Myanmar-English Dictionary. </i>Department of the Myanmar Language Commission, Ministry of Education, Union ofMyanmar.</p><p>MLC. 2003. <i>Myanmar Orthography. </i>Department of the Myanmar Language Commission,Ministry of Educa­tion, Union ofMyanmar, June.</p><p>MLC. 2005. <i>Myanmar Grammer. </i>Department of the Myanmar Language Commission, Ministry of Educa-tion,Union ofMyanmar, June.</p><p>Kavi Narayana Murthy. 2006. <i>Natural Language Pro­cessing - an Information Access Perspective. </i>Ess Ess Publications, New Delhi, India.</p><p>Youngja Park. 2002. Identification of probable real words : an entropy-based approach. In <i>ACL-02 Work­shop on Unsupervised Lexical Acquisition, </i>pages 1-8, Morristown, NJ, USA. Association for Computational Linguistics.</p><p>U Soe Saya. 2000. <i>The Khit Thit English-English-Myanmar Dictionary with Pronunciation. </i>Yangon, Myanmar, Apr.</p><p>2000. Student's english-english/myanmar dictionary. Ministry of Commerce and Myanmar Inforithm Ltd, Union of Myanmar, CD version, Version 1, April.</p><p>Ye Kyaw Thu and Yoshiyori Urano. 2006. Text entry for myanmar language sms: Proposal of 3 possible input methods, simulation and analysis. In <i>Fourth Interna­tional Conference on Computer Applications, </i>Yangon, Myanmar, Feb.</p><p>U Tun Tint. 2004. Features of myanmar language. May.</p><p>www.syger.com. http://www.syger.com/jsc/docs/ stopwords/english.htm.</p><p>Ni Ko Ye. 1997. <i>Orchestra. </i>The two cats, June.</p></references></body></article>