auhide commited on
Commit
74c9273
1 Parent(s): 02322d8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -91,7 +91,8 @@ Then, you can call `get_keywords` on it and extract its keywords:
91
  with open("input_text.txt", "r", encoding="utf-8") as f:
92
  text = f.read()
93
 
94
- keywords = get_keywords(text)
 
95
  print("Keywords:")
96
  pprint(keywords)
97
  ```
 
91
  with open("input_text.txt", "r", encoding="utf-8") as f:
92
  text = f.read()
93
 
94
+ # You can change the threshold based on your needs.
95
+ keywords = get_keywords(text, threshold=0.5)
96
  print("Keywords:")
97
  pprint(keywords)
98
  ```