API Reference#
I/O#
Reading, writing, and merging LIWC dictionaries.
|
Create a dictionary DataFrame from category-to-terms mapping. |
|
Read a dictionary from a LIWC DIC or DICX file. |
|
Write a dictionary to a LIWC DIC or DICX file. |
|
Merge multiple dictionaries into a single dictionary. |
|
Remove one or more categories from a dictionary. |
LIWC-22 CLI#
Python wrapper for the LIWC-22 command-line tool.
|
Execute a LIWC-22 CLI analysis from Python. |
Word Counting#
Pure-Python LIWC-style word counting.
|
Count LIWC dictionary categories across documents (pure-Python). |
DDR Scoring#
Distributed Dictionary Representation — semantic scoring via word embeddings.
|
Score documents against dictionary categories via DDR. |
Fetching Dictionaries#
Remote LIWC-format dictionaries, fetched on demand and cached locally.
|
Fetch the big two (agency and communion) dictionary. |
Fetch the honor dictionary. |
|
Fetch the mystical experience dictionary. |
|
Fetch the sleep dictionary. |
|
Fetch the threat dictionary. |
Utility#
Miscellaneous utilities and helpers.
|
Configure logging output for the liwca package. |