Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started