Afonso Xavier Canosa Rodriguez


On philology, potatoes and construction.
Well, this is just my first approach to blog-writing. I want it to be the way to keep in touch with colleagues and friends.




Profile
info at canosarodriguez dotnet
 Subjects
 Archive
 PREVIOUS
 Highlights

End of harvest
Another year and I am thankful for being able to participate in the harvest too. Less potatoes than previous years, the tubers slightly smaller on average, still a good season to celebrate.
Subject: potatoes - Published 03-09-2018 21:56
Permanent link to this article
Cosine distance and semantic relations
Following a previous post that illustrated the meaning of a word based on its context, a script to calculate the cosine distance among terms. The idea behind is that if you have enough data, semantic relations can be solved from context. As a practical application, given a place name, the cosine distance measures the proximity (or distance) of a geographical entity relative to two geographical features used as semantic tracts (e.g. to determine which entities are islands).

In the script linked above I use the data given as a toy example by Baroni,Bernardi, & Zamparelli (2014, pp. 248-250) to introduce the measure in terms of distributional semantics.
Subject: philology - Published 03-09-2018 21:47
Permanent link to this article
© by Abertal