Add setup steps

This commit is contained in:
Paul O'Leary McCann 2022-02-14 15:12:29 +09:00
parent 56bca8d9f6
commit ae96848245

View File

@ -3799,6 +3799,9 @@
"description": "tmtoolkit is a set of tools for text mining and topic modeling with Python developed especially for the use in the social sciences, in journalism or related disciplines. It aims for easy installation, extensive documentation and a clear programming interface while offering good performance on large datasets by the means of vectorized operations (via NumPy) and parallel computation (using Pythons multiprocessing module and the loky package).",
"github": "WZBSocialScienceCenter/tmtoolkit",
"code_example": [
"# Note: This requires these setup steps:",
"# pip install tmtoolkit[recommended]",
"# python -m tmtoolkit setup en",
"from tmtoolkit.corpus import Corpus, tokens_table, lemmatize, to_lowercase, dtm",
"from tmtoolkit.bow.bow_stats import tfidf, sorted_terms_table",
"# load built-in sample dataset and use 4 worker processes",