liwca (Linguistic Inquiry Word Count Assistant) is a Python helper library for working with LIWC
dictionaries. It is useful when you want end-to-end pipelines or notebook workflows
that don’t require the LIWC-22 app to be open, or when you just need reusable
.dic[x] file I/O without writing it from scratch every project.
pip install liwca
Features#
Input/Output - Read, write, and merge
.dicand.dicxdictionary filesLIWC-22 CLI - Python wrapper for the
LIWC-22-clicommand-line toolWord Counting - Pure-Python LIWC-style word counting, no LIWC-22 installation required
DDR Scoring - Semantic scoring via word embeddings (Distributed Dictionary Representation)
Datasets - Download and cache public text corpora, dictionaries, and other relevant resources on demand