LIAAD / yake

Single-document unsupervised keyword extraction
https://liaad.github.io/yake
Other
1.64k stars 227 forks source link

how does the demo, finds similar words? #55

Closed breathingcyborg closed 2 years ago

breathingcyborg commented 2 years ago

In the offifical demo, hovering over the keyword highlights keywords that are similar to that keyword. How does that work?

arianpasquali commented 2 years ago

@breathingcyborg This is just a logic for the demo. It looks for other ngrams that include the ngram that you are hovering. For instance if you hover over "Obama" it will look for other ngrams that contains the token Obama, in this case it would highlight ngrams like Barack Obama, President Obama, Miss Obama, etc.