krank.lexicons.fetch_honor#
- krank.lexicons.fetch_honor(version=None, load=False, **kwargs)#
Fetch and read the Honor LIWC dictionary.
Dictionary details#
Name:
honor
Language: English
Citation: doi:10.1002/job.2026
Note
This .dic file has lots of weird and inconsistent spacing. For example, different numbers of tabs between “columns”, some spaces thrown in, and different number of tabs ending each line.
Parameters#
- versionstr or None
Name of version. If
None
(default), fetches the latest version.- loadbool or callable
If
True
(default), fetch the file and load it as aDataFrame
. IfFalse
, fetch the file and return the local filepath. If a callable, fetch the file an load it with the custom callable.- **kwargsdict, optional
Additional keyword arguments are passed to
pooch.retrieve()
.
Returns#
Filepath or DataFrame