Starting from:

$30

CS372-Homework Heteronyms and Their Pronunciation 3 Solved

 For this , we will look into heteronyms and their pronunciations. A heteronym is “one of two or more homographs (such as a bass voice and bass, a fish) that differ in pronunciation and meaning” (Merriam-Webster Dictionary). Heteronyms may have the same parts-of-speech, as in bass (N), bow (V), tear (N), tear (V), wind (N), and wind (V), but they may also have different parts-of-speech, as in address (N, V), bass (Adj, N), conduct (N, V), frequent (Adj, V), rebel (N, V), tear (N, V) and wind (N, V).  

The goal in this  is first to search the internet or available corpora for sentences in English in which two or more heteronyms appear, and second to give pronouncing annotations to such heteronyms. Your program is supposed to output cited (i.e., together with the source information, such as the Brown Corpus, Times Live) sentences with suitable annotations on heteronyms, together with a CSV file that contains a ranked list of 30 cited sentences with annotations, where the ranking is computed as follows (with precedence 123):

1.            Higher ranking is given to those sentences that contain more occurrences of the homographs, such as wind + wind + tear + tear, than to those sentences that contain fewer, such as wind + wind + tear. 

2.            Higher ranking is given to those sentences that contain multiple occurrences of homographs, such as wind + wind, than those sentences that contain heteronyms but not homographs, such as wind + tear. 

3.            Higher ranking is given to those sentences that contain heteronyms with the same part-of-speech information, such as tear + tear, than those with different part-of-speech information, such as PROduce + proDUCE. 

You can devise your own ranking for all the other cases, such as preferring shorter sentences and/or sentences from the internet. 

 

As before, you should use techniques that can be implemented in Python and NLTK. 

A  Write a Python code to access the internet and to output cited sentences with annotations. 

B  Include the first 30 sentences in an order as described above. 

Discuss your results, to explain how you addressed the goal, and to suggest how you can improve the quality of the results further.

More products