Update README.md
Browse files
README.md
CHANGED
|
@@ -8,8 +8,11 @@ This model is to be used in conjunction with the extract_features.py module. Thi
|
|
| 8 |
them to the saved model in the required format.
|
| 9 |
|
| 10 |
To summarize text, follow these steps:
|
|
|
|
| 11 |
from extract_features import extract_features
|
|
|
|
| 12 |
features = extract_features(Article_you_want_to_summarize)
|
|
|
|
| 13 |
summarized_sentences = model.predict(features)
|
| 14 |
|
| 15 |
The summarized_sentences is a list of sentences of your summary.
|
|
|
|
| 8 |
them to the saved model in the required format.
|
| 9 |
|
| 10 |
To summarize text, follow these steps:
|
| 11 |
+
|
| 12 |
from extract_features import extract_features
|
| 13 |
+
|
| 14 |
features = extract_features(Article_you_want_to_summarize)
|
| 15 |
+
|
| 16 |
summarized_sentences = model.predict(features)
|
| 17 |
|
| 18 |
The summarized_sentences is a list of sentences of your summary.
|