Skip to content

Commit

Permalink
Fix DTM docs (MaartenGr#386)
Browse files Browse the repository at this point in the history
`model` was replaced with `topic_model` to be more consistent in naming the resulting topic model
  • Loading branch information
hp0404 authored Jan 3, 2022
1 parent cd98fc8 commit 05a6790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting_started/topicsovertime/topicsovertime.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ From these topics, we are going to generate the topic representations at each ti
by simply calling `topics_over_time` and pass in his tweets, the corresponding timestamps, and the related topics:

```python
topics_over_time = model.topics_over_time(tweets, topics, timestamps)
topics_over_time = topic_model.topics_over_time(tweets, topics, timestamps)
```

And that is it! Aside from what you always need for BERTopic, you now only need to add `topics` and `timestamps`
Expand Down

0 comments on commit 05a6790

Please sign in to comment.