You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As brought up in #12 it probably makes sense to have part of the API return a deduped version of the ranklist.
Specifically, the proposal is to have Rake.extract_keywords_from_text return a ranklist of type List[Tuple[float, str]]. This ranklist could then be reasonably deduped (as the default behaviour). The other similar method Rake.apply would continue to return a list of type List[Tuple[float, Span]].
So in a nutshell the proposed change to the API would be:
As brought up in #12 it probably makes sense to have part of the API return a deduped version of the ranklist.
Specifically, the proposal is to have
Rake.extract_keywords_from_text
return a ranklist of typeList[Tuple[float, str]]
. This ranklist could then be reasonably deduped (as the default behaviour). The other similar methodRake.apply
would continue to return a list of typeList[Tuple[float, Span]]
.So in a nutshell the proposed change to the API would be:
The text was updated successfully, but these errors were encountered: