hiDaDeng/cntext
A Python library for social science text analysis that uses word embeddings and sentiment methods to measure attitudes and psychological states from Chinese text.

The cntext library provides tools for computational social science research including word frequency analysis, sentiment analysis, and semantic projection approaches. It supports reading various document formats (PDF, DOCX, CSV), applies word2vec and GloVe embeddings for semantic analysis, and implements the WEPA method for measuring psychological constructs like attitudes and emotional states from text data.
Frequently asked
- What is hiDaDeng/cntext?
- A Python library for social science text analysis that uses word embeddings and sentiment methods to measure attitudes and psychological states from Chinese text.
- Is cntext open source?
- Yes — hiDaDeng/cntext is open source, released under the MIT license.
- What language is cntext written in?
- hiDaDeng/cntext is primarily written in Python.
- How popular is cntext?
- hiDaDeng/cntext has 456 stars on GitHub.
- Where can I find cntext?
- hiDaDeng/cntext is on GitHub at https://github.com/hiDaDeng/cntext.