Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

TRANSLITERATE_JAP.DAT: computer konpyutaa new york nyuu yooku bill gates biru geitsu golf ball goruhu booru television terebibangu radio rajio twin tower tsuintawa video game bideogemu

image text in transcribed

image text in transcribed

TRANSLITERATE_JAP.DAT:

computer konpyutaa new york nyuu yooku bill gates biru geitsu golf ball goruhu booru television terebibangu radio rajio twin tower tsuintawa video game bideogemu restaurant resutoran story sutoorii elevator erebeeta ice cream aisukuriimu

the solution only code

English-Japanese Transliteration Transliteration is the conversion of a text from one script to another. For example, the Arabic scriptS (i.e., written) can be converted to the Latin script kitabi for English English words have been also been commonly used in a various international 1anguage as loan/borowed words such as for technical terms (e.g., 'computer) or names of places (e.g., 'New York'). Although different languages may have different pronunciations and sound inventories, some phonetic equivalents can be applied to a target language written in the script of the target language. For example in Japanese, the word computer can be written as konpyutaa Given the Table 1 containing the Japanese Katakana syllabic script, build an fst that receives an English syllable as input and output the equivalent transliteration of the Japanese syllable. For example, the English syllable com in the word computer will output kon in Japanese a) (ka)(sa) ta na (ha)a) ra (ki) |(shi) |(chi) |(ni) 01 (ku) |(su) |(ke) |(se) (tsu |(te) 7 (hu) |(mu) |(ru) (0) (ba (bu (bo ne pa) |(za) (ya (yo bi)(gi) yo) |(yu) zu (do) |(u) po chi (o Table 1 To use entire words as input or output symbols, enclose the word in square brackets (not in parentheses). Example: to add an arc that takes the string com as input and returns kon when going from state 1 to 2, you should use: f.add_arc('1', '2', ['oom '], ['kon']) Download the file transliterate-Jap.dat for the list of transliterations, but you have to create your own input file/string that maps Eng Jap syllables. You may use Google translate to assist you with the transliteration. Test your program with the following inputs: (your program wil1 also be tested using random inputs). input output kon pyu la dio com ra dia computer konpyutaa radio ajio Print all input-output mappings into an output file named Jap-trans.dat in the following format conm-> kon pu->pyu ra-> Ta Figure 1 Submit the following for your assignment: i)a python FST program for the Jap-Eng transliteration ii) an output file that prints the mappings of the transliterations as shown in Figure 1 ii) an FST construction generated by the Phyton program (image or word document)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Decisions Based On Data Analytics For Business Excellence

Authors: Bastian Weber

1st Edition

9358681683, 978-9358681680

Students also viewed these Databases questions

Question

What are the key steps in diagnosing a conflict situation?

Answered: 1 week ago

Question

Explain exothermic and endothermic reactions with examples

Answered: 1 week ago

Question

Write a short note on rancidity and corrosiveness.

Answered: 1 week ago

Question

Describe the linkages between HRM and strategy formulation. page 74

Answered: 1 week ago

Question

Identify approaches to improving retention rates.

Answered: 1 week ago