You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
topic_names # Run again to get new suggested names. More text examples should result in better names.
61
+
62
+
```
63
+
64
+
Output:
65
+
```
66
+
['Text recognition',
67
+
'Text recognition',
68
+
'Text recognition',
69
+
'Stock Market Closing Bell',
70
+
'Stock Market Closing Bell',
71
+
'Stock Market Closing Bell']
72
+
```
73
+
74
+
In this simple example, we know the cluster assignments. In actual applications, a topic modeling library like BERTopic can cluster the texts for us, and then we can name them with topically.
75
+
37
76
# Usage Example: Topically + BERTopic
38
77
Use Topically to name clusters in the course of topic modeling with tools like BERTopic. Get the cluster assignments from BERTopic, and name the clusters with topically. Here's example code and a colab notebook demonstrating this.
0 commit comments