liwca.read_dx#

liwca.read_dx(fp, **kwargs)[source]#

Read a dictionary from a LIWC DIC or DICX file.

Parameters:
  • fp (Union[str, Path]) – The filepath to read the dictionary from.

  • kwargs (Any) – Additional keyword arguments to pass to pd.read_csv.

Returns:

The dictionary read from the file.

Return type:

pandas.DataFrame