LIAAD / yake

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

Added handler for data that has no identified phrases #38

Closed readikus closed 3 years ago

readikus commented 3 years ago

I encountered issues when trying to extract phrases from small pieces of texts that didn't have any relevant key phrases.

I updates the unit tests to cover this. The test fails against the code in master, but the small change in this PR resolves it.

arianpasquali commented 3 years ago

Thank you @readikus. Merged