Update README.md
Browse files
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 |
-
|
|
|
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 |
```
|