10.07.2015 Views

adapting rule based machine translation from english to bangla

adapting rule based machine translation from english to bangla

adapting rule based machine translation from english to bangla

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Judith Francisca et al./ Indian Journal of Computer Science and Engineering (IJCSE)4.3 Production RulesWhile translating the training set we have produced a set of <strong>rule</strong>s. These <strong>rule</strong>s are stated in Table 2. These <strong>rule</strong>sare extendable. The more the training set sentences the more the <strong>rule</strong>s can be added as required. In the table,there are production <strong>rule</strong>s represented. We have showed the production <strong>rule</strong>s for both English and the Banglasentences side by side. There are individual sentence patterns for English and Bangla sentences. We have beenrepresented here all the English sentence patterns as r and all the Bangla sentence patterns as r' in common.These <strong>rule</strong>s are in pair wise. Because a sentence pattern in English must have a corresponding sentence patternin Bangla which is used for language <strong>translation</strong>. These <strong>rule</strong>s are predefined and must be precisely given in thelanguage <strong>translation</strong> system. For the language <strong>translation</strong> purpose, an English sentence pattern will change <strong>to</strong> aBangla sentence pattern according <strong>to</strong> a particular <strong>rule</strong>. This <strong>rule</strong> is given in the production <strong>rule</strong> table. In this tablethere are very few <strong>rule</strong>s represented <strong>to</strong> give the idea that how the production <strong>rule</strong> works. All the <strong>rule</strong>s arenumbered and each pair is in the same number. For example, if an English sentence pattern represents r 3 , thenthe Bangla sentence pattern for particularly r 3 will be r' 3 . So, r n sentence pattern for English sentence will havethe r' n sentence pattern in Bangla in the production <strong>rule</strong> table.4.4 DatabaseSince we needed a dictionary, it was manda<strong>to</strong>ry <strong>to</strong> use a digital dictionary. A flat file has been used asdictionary. Here different attributes have been given for finding out the classification and each result has been ina definite class. These are the information about the words. This information has been used <strong>to</strong> classify thesentence. There are more than 200 words generated in the dictionary. It is expandable <strong>to</strong> as much as we need.The more the sentences are applied <strong>to</strong> the model the more the dictionary will be enriched. Both for training andtesting sets, the dictionary is enhanced with the words along with the attributes.Table 2: Generated <strong>rule</strong>s for language <strong>translation</strong>.English Pattern ( r )PRODUCTION RULESBangla Pattern ( r′ )r s → n + v + n′r′ s → n + n′ + v12Salma + was peeling + pota<strong>to</strong>esr s → n + v + n′ + n ′r3r4r5r6r7Knowledge + lights + the way + <strong>to</strong> heavenp + art + adj + nIt + is a + costly + penp + vWe + were playingn + vThe moon + shinesp + d + vWe + all + breathed + art + nThis + is a + picturer 8n + v + (p + n′ )aKarim + cut + (his + finger)r 8n + v + (p + art + adj + n′ )bc12mvjgv + Avjyi + †Lvmv Qvovw”Qjr′ s → n + n ′ + n′ + vr′3r′4r′5r′6r′7r 8′ar 8′Ávb + †e‡nk&‡Zi + c_wU + Av‡jvwKZ K‡ip + art + adj + nGUv + GKwU + `vgx + Kjgp + vAvgiv + †Ljv KiwQjvgn + vPuv` + wKiY †`qp + d + vAvgiv + mevB + wbtk¦vm †bBd + art + nGUv + GKwU + Qwen + (p + n′ ) + vKwig + (Zvi + Av½yj) + †K‡UwQjn + (p + art + adj + n′ ) + vbGrandfather + <strong>to</strong>ld + (us + a + funny + s<strong>to</strong>ry) `v`vRvb + (Avgv‡`i + GKwU + gRvi + Mí) +e‡jwQjr 8n + v + ( n′ + adv)dHabib + goes + (<strong>to</strong> college + regularly)′ )r 8n + v + (d + n′ + c + n ′I + washed + (my + hands + and + face)r 8′cdn + ( n′ + adv) + vnvwee + (K‡j‡R + wbqwgZ) + hvq′ ) + vr 8′ n + (d + n′ + c + n ′Avwg + (Avgvi + nvZ + Ges + gyL) + ayBjvgISSN : 0976-5166 Vol. 2 No. 3 Jun-Jul 2011 339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!