Update README.md
Browse files
README.md
CHANGED
|
@@ -32,12 +32,7 @@ You can make predictions as follows:
|
|
| 32 |
```python
|
| 33 |
sentence = ["recently closed Samsara market"]
|
| 34 |
topic, _ = topic_model.transform(sentence)
|
| 35 |
-
topic_model.
|
| 36 |
-
```
|
| 37 |
-
|
| 38 |
-
To obtain the name of the topic:
|
| 39 |
-
```python
|
| 40 |
-
topic_model.custom_labels_[topic[0]+1]
|
| 41 |
```
|
| 42 |
|
| 43 |
## Topic overview
|
|
|
|
| 32 |
```python
|
| 33 |
sentence = ["recently closed Samsara market"]
|
| 34 |
topic, _ = topic_model.transform(sentence)
|
| 35 |
+
topic_model.get_topic_info(topic[0])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
```
|
| 37 |
|
| 38 |
## Topic overview
|