Library reference

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

Create a Reader object based on filenames.

Parameters:

filenames : str or iterable or str, optional

One or more filenames. A filename may match exactly a CHAT file (e.g., 'eve01.cha') or matches multiple files by glob patterns (e.g., 'eve*.cha', for 'eve01.cha', 'eve02.cha', etc.). * matches any number (including zero) of characters, while ? matches exactly one character. A filename can be either an absolute or relative path. If no filenames are provided, an empty Reader instance is created.

kwargs : dict, optional

Only the keyword encoding is recognized, which defaults to ‘utf8’. (New in version 0.9)

Returns:

Reader


Modules: