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.