pycantonese.read_chat

pycantonese.read_chat(*filenames, **kwargs)[source]

Read Cantonese CHAT data files into a reader object.

Parameters
*filenamesiterable[str]

File paths to Cantonese CHAT data files. Glob filename matching is supported.

**kwargs

Keyword arguments passed to CantoneseCHATReader. Currently, only the encoding kwarg is supported (default: ‘utf8’).

Returns
CantoneseCHATReader