liwca.datasets.dictionaries.fetch_threat#
- liwca.datasets.dictionaries.fetch_threat()[source]#
Fetch the threat dictionary.
- Returns:
Dictionary with a single
"threat"category.- Return type:
Notes
The threat dictionary is described in Choi et al.[1] and available, along with other resources, on Michele Gelfand’s website[2].
References
Examples
>>> from liwca.datasets import dictionaries >>> dx = dictionaries.fetch_threat() >>> "accidents" in dx.index True