lavorato@enron.com,wang@enron.com chapman@enron.com,reed@enron.com reyes@enron.com,westbrook@enron.comWrite a program to count the number of times each unique email address appears in the file as a sender, and how many times it appears as a receiver. Store the values using a hash.
Your output should have the email address followed by a comma followed by the number of times the address was a sender followed by a comma followed by the number of times the address was a receiver.
Some sample correct output:
Your job is to find multi-word tags (i.e. tags that are more than one word) and, if a tag matches a wikipedia article title, print either the tag or the entire line (your choice) from the file that has that tag.
You must use hashes and loop through the contents of each file only once. You man NOT put the values in a data structure and loop many times - you can only loop once.
You must work with local versions of these files - do NOT access them using LWP even while you are working on the assignment. Keep the names of the files identical to how they are linked here. Do not upload copies of these files when you turn in your assignment.