Skip to content

Commit

Permalink
Update keybert/_model.py
Browse files Browse the repository at this point in the history
Co-authored-by: Maarten Grootendorst <[email protected]>
  • Loading branch information
afuetterer and MaartenGr authored Jul 15, 2024
1 parent 5a5b886 commit 920969f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keybert/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def extract_keywords(
NOTE: The `word_embeddings` should be generated through
`.extract_embeddings` as the order of these embeddings depend
on the vectorizer that was used to generate its vocabulary.
threshold: TODO
threshold: Minimum similarity value between 0 and 1 used to decide how similar documents need to receive the same keywords.
Returns:
keywords: The top n keywords for a document with their respective distances
Expand Down

0 comments on commit 920969f

Please sign in to comment.