Skip to content

Commit

Permalink
Correct TopicMapper doc example (#1637)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisji authored Nov 20, 2023
1 parent c7de0bc commit bcb3ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bertopic/_bertopic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4030,7 +4030,7 @@ def get_mappings(self, original_topics: bool = True) -> Mapping[int, int]:
To get mappings, simply call:
```python
mapper = TopicMapper(hdbscan_model)
mapper = TopicMapper(topics)
mappings = mapper.get_mappings(original_topics=False)
```
"""
Expand Down

0 comments on commit bcb3ca2

Please sign in to comment.