View the step-by-step solution to:

Question

# code in java src="/qa/attachment/11007430/" alt="666666666.jpg" /> Attachment 1 Attachment 2 ATTACHMENT PREVIEW Download attachment 55555.jpg Most Malay words has the following syllable structure: 6 and above length of word has 3 syllables 4 and 5 length of word has 2 syllables, and 3 and less length of word has 1 syllable. However there ar two general exceptions: for 6 length of word that contain 'ng' or 'ny&quot; within the word, it has 2 syllables For 3 length of word that starts with vowel alphabet, it has 2 syllables. For example: &quot;aku&quot; has 2 syllables, &quot;kau&quot; has 1 syllable, &quot;berlari&quot; has 3 syllables, &quot;belang&quot; has 2 syllables, &quot;si&quot; has 1 syllable and &quot;seorang&quot; has 3 syllables. Pantun rhythm has the following structure. The last two alphabets of the last word in alternating verses should be the same, i.e. 1st - 3rd verses, and 2nd - 4th verses. For example, consider the followin partun and observe the bold (and underlined) alphabets. Dua tiga kucing berlari Mana nak sama si kucing belang Dua tiga boleh kau cari Mana nak sama aku seorang As you can see, the ist and 3rd verses have a same rhythm (ended with &quot;ri&quot;), while the 2nd and 4th verses also have a same rhythm (ended with &quot;ng&quot;). This is an example of pantun with good rhythm (both pairs rhyme). If we analyze the syllable count of the above pantun, then: First verse : 8 syllables (1+2+2+3) Second verse : 10 syllables (2+1+2+1+2+2) Third verse : 8 syllables (1-2+2+1+2) Forth verse : 10 syllables (2+1+2+2+3) This pantun also has a same number of syllables for each pair of alternating verse, which is also a sign of a good pantun. As someone who loves pantun, there are so many pantun that you need to assessed. Thus, it is handy to have an automatic pantun early-evaluator (we call it early-evaluator as the result of this evaluator only serves to determine the priority of pantun which should be assessed first).We decided that the evaluator should score the pantun in the following way: . 10 points for each verse which fulfill the syllable count requ ATTACHMENT PREVIEW Download attachment 666666666.jpg

### Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

• ### -

Study Documents

Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

Browse Documents