greenelab / word-lapse

Explore how a word changes over time
https://greenelab.github.io/word-lapse/
Other
6 stars 3 forks source link

API: sort neighbor results by score #52

Closed falquaddoomi closed 2 years ago

falquaddoomi commented 2 years ago

From PR #49:

This will need the backend to return the neighbor results for each year sorted by strength/score, because I can only show the top 5-10 (and even with just that, the figure is still quite busy).

falquaddoomi commented 2 years ago

On investigation it seems that most_similar() already returns results in order of decreasing similarity (i.e., strength/score) to the target word.

falquaddoomi commented 2 years ago

Closed by #54 .