Baliktad, which in other contexts means 'inside-out, upside-down, inverted, or backward, is a kind of an...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Baliktad, which in other contexts means 'inside-out, upside-down, inverted, or backward, is a kind of an informal speech disguise commonly heard in the Philippines [1]. Some common examples of these words are lodi (idol), werpa (power), and astig (tigas). There are several ways of reordering words, but for this exercise, you will implement the widespread type of baligtád, also known as tadbalik. This uses a partial reversal of the syllabic shape of the original form (e.g. 1-2-3> 3-1-2). Examples: 123 312 maganda > damagan 1 2 3 3 1 2 malupet > petmalu 12 21 meyor > yorme 12345 pasasalamat > matpasasala 5 1234 Create a Python program that translates a list of Filipino words to a Filipino pig-latin kind of speech, tadbalik. 1. Enter List of Words: Ask the user N Filipino words. The words should be converted into lowercase. 2. Translate: Translate each words according to the tadbalik format. NOTE: Apply the translation only if there are two or more syllables. (e.g., "ng", "ang", and "hays"-one-syllable words will be retained. "Mga" is a special case of a two-syllable word that should not be translated.) 3. View Translation: Show the translated words to the user. Sample Run: #1 Enter number of words: 5 > Bakit > nga > ba > mahal > kita The translated words are: > kitba > nga > ba > halma taki #2 Enter number of words: 3 > ang > mga > LODS The translated words are: > ang > mga > lods Baliktad, which in other contexts means 'inside-out, upside-down, inverted, or backward, is a kind of an informal speech disguise commonly heard in the Philippines [1]. Some common examples of these words are lodi (idol), werpa (power), and astig (tigas). There are several ways of reordering words, but for this exercise, you will implement the widespread type of baligtád, also known as tadbalik. This uses a partial reversal of the syllabic shape of the original form (e.g. 1-2-3> 3-1-2). Examples: 123 312 maganda > damagan 1 2 3 3 1 2 malupet > petmalu 12 21 meyor > yorme 12345 pasasalamat > matpasasala 5 1234 Create a Python program that translates a list of Filipino words to a Filipino pig-latin kind of speech, tadbalik. 1. Enter List of Words: Ask the user N Filipino words. The words should be converted into lowercase. 2. Translate: Translate each words according to the tadbalik format. NOTE: Apply the translation only if there are two or more syllables. (e.g., "ng", "ang", and "hays"-one-syllable words will be retained. "Mga" is a special case of a two-syllable word that should not be translated.) 3. View Translation: Show the translated words to the user. Sample Run: #1 Enter number of words: 5 > Bakit > nga > ba > mahal > kita The translated words are: > kitba > nga > ba > halma taki #2 Enter number of words: 3 > ang > mga > LODS The translated words are: > ang > mga > lods
Expert Answer:
Answer rating: 100% (QA)
Heres a simple Python program that translates a list of Filipino words to a Filipino piglatin kind of speech called tadbalk def translatewordword if lenword 2 Translate only if there are two or more s... View the full answer
Related Book For
Ethical Obligations And Decision Making In Accounting Text And Cases
ISBN: 9781264135943
6th Edition
Authors: Steven Mintz
Posted Date:
Students also viewed these programming questions
-
A Global Resource Ideas of the spirit realm, of Nature or Music speaking through the genius composer, seem about as remote as they could be from musical culture at the turn of the twenty-first...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Discuss why it might be important to your client to adopt International Accounting Standards even though they are currently only operating domestically throughout the central part of the United...
-
Dixie Irwin is the department manager for Religious Books, a manufacturer of religious books that are sold through Internet companies. Irwins bonus is based on reducing production costs. Irwin has...
-
Explain why a concurrent application written using non-blocking message receive ( ) operations could require less real time to execute than if it were written using blocking receive ( ) operations....
-
Normal hatchery processes in aquaculture inevitably produce stress in fish, which may negatively impact growth, reproduction, flesh quality, and susceptibility to disease. Such stress manifests...
-
Differentiate area moment of inertia from the mass moment of inertia.
-
Demmert Manufacturing incurred the following expenditures during the current fiscal year: annual maintenance on its machinery, $5,400; remodeling of offices, $22,000; rearrangement of the shipping...
-
a. The company has one truck that it purchased at the start of this year. The truck cost $75,000, had an estimated useful life of five years and is expected to have zero value at the end of the five...
-
Ralph usually buys one pizza and two colas from the local pizzeria. The pizzeria announces a special: All pizzas after the first one is half-price. Show the original and new budget lines. What can...
-
How To Write Proofs Your proof should: 1. Begin with a statement of the type of proof you're performing. 2. State any assumptions and beginning observations. 3. Lay out the steps clearly across...
-
I want a program to take input from user and build a new class that inherits existing parent class and its functions. is it possible to do so, if yes how do i do that? (Please include a short code)....
-
The financial director deploys a policy regarding approval of payments for travel reimbursements of employees. Payments must be approved by the accounting manager for all payments under $1,000 and...
-
Explore the concept of spectralism in contemporary orchestral music, focusing on the manipulation of sound spectra and the synthesis of complex harmonic textures to evoke unique timbral landscapes.
-
The probabilities of an economic boom, normal economy, and a recession are 2 percent, 93 percent, and 5 percent, respectively. For these economic states, Stock A has deviations from its expected...
-
Jumbo Shrimp Oxymorons, Inc. recently paid a dividend of $2.15 per share. The firm expects explosive growth of 20% over the next two years. After that the firm's managers expect that growth will drop...
-
Isotropic versus anisotropic materials: a) Define the differences between anisotropic materials and isotropic materials, or are they the same? b) Can a material exhibit both anisotropic and isotropic...
-
For the following exercises, write the first four terms of the sequence. a n = 2 n 2
-
Occupational fraud comes in many shapes and sizes. The $12.9 million dollar fraud and kickback scheme at Rite Aid is one such case. In February 2015, Jay Findling, a New Jersey businessman, pleaded...
-
Explain the difference between the realistic possibility of success tax standard for taking a tax position under SSTS Interpretation No. 101-1 and the reasonable basis standard. When should each be...
-
Helen Roberts is reviewing two transactions recorded by her client, Biotechnologies (Biotech), as part of her accounting firms annual audit of the client for the December 31, 2021, financial...
-
Biologists have studied the running ability of the northern quoll, a marsupial indigenous to Australia. In one set of experiments, they studied the maximum speed that quolls could run around a curved...
-
The chain on a bicycle turns the rear wheel via a gear cluster, as shown in Figure Q7.6. The gears vary in size; the smallest gear has a radius of 2.3 cm, the largest a radius of 6.0 cm. If we assume...
-
The torque needed to open a factory-sealed jar is about the same as the torque required to turn the wheel on a passenger car. You know that the force necessary to turn your cars steering wheel is...
Study smarter with the SolutionInn App