written3-soln - CS-5340\/6340 Solutions to Written Assignment#3 1(20 pts Identify the thematic role of each noun phrase in the sentences below Choose

# written3-soln - CS-5340/6340 Solutions to Written...

• Homework Help
• 9

This preview shows page 1 - 4 out of 9 pages.

CS-5340/6340, Solutions to Written Assignment #3 1. (20 pts) Identify the thematic role of each noun phrase in the sentences below. Choose from the following set of thematic roles: agent, co-agent, theme, co-theme, instrument, recipient, experiencer, beneficiary, origin, destination, path (a) John cleared the sidewalk with his snow shovel. AGENT = John THEME = the sidewalk INSTRUMENT = his snow shovel (b) A raffle was held for the local charity. THEME = A raffle BENEFICIARY = local charity (c) Joe teamed up with Susan to learn how to ski. AGENT = Joe CO-AGENT = Susan (d) Tom was given a bike. THEME = bike RECIPIENT = Tom (e) The dress was purchased by Lisa with matching shoes. AGENT = Lisa THEME = dress CO-THEME = matching shoes (f) Julie mailed her grandmother a letter. AGENT = Julie THEME = a letter RECIPIENT = her grandmother (g) George hopes that his car can be fixed. EXPERIENCER = George THEME = his car 1
(h) The image was created with Adobe Photoshop by a cartoonist. AGENT = a cartoonist THEME = the image INSTRUMENT = Adobe Photoshop 2
2. (14 pts) Consider the following context vectors: word 1 : < 9 2 8 0 > word 2 : < 6 7 4 5 > word 3 : < 1 3 9 2 > Compute the similarity between pairs of the vectors above using the similarity metrics stated below. Please show all your work! (a) Similarity( word 1, word 2) using Manhattan Distance. 3 + 5 + 4 + 5 = 17 (b) Similarity( word 2, word 3) using Manhattan Distance. 5 + 4 + 5 + 3 = 17 (c) Similarity( word 1, word 2) using Jaccard Similarity. (6 + 2 + 4 + 0) / (9 + 7 + 8 + 5) = 12/29 (d) Similarity( word 2, word 3) using Jaccard Similarity. (1 + 3 + 4 + 2) / (6 + 7 + 9 + 5) = 10/27 (e) Similarity( word 1, word 2) using Cosine Similarity. (9 * 6)+(2 * 7)+(8 * 4)+(0 * 5) 9 2 +2 2 +8 2 +0 2 * 6 2 +7 2 +4 2 +5 2 (54+14+32+0) 81+4+64+0 * 36+49+16+25 100 149 * 126 = . 73 (f) Similarity( word 2, word 3) using Cosine Similarity.

#### You've reached the end of your free preview.

Want to read all 9 pages?

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern