COMP 8780 ASSIGNMENT #5 solution

$24.99

Original Work ?
Category: You will Instantly receive a download link for .ZIP solution file upon Payment

Description

5/5 - (1 vote)

1. [10 points] From the SnapshotBROWN.pos.all.txt file extract all
word types and their frequencies. Sort the list of word types in
decreasing order based on their frequency. Draw a chart showing the
relationship between the rank in the ordered list and the frequency
(Zipf’s Law). Do not stem but do ignore punctuation.

—————————————————————–

2. [20 points] Generate a Bigram Grammar from the above file. Perform
add-one smoothing. Show the grammar before and after smoothing for
the sentence “A similar resolution passed in the Senate”.