__init__

Collocations.__init__(*args, reference=None, read_mode=None, collapser=None, **kwargs)[source]

Initialize a Collocation object

This FileSet

Parameters
  • *args – Positional arguments for FileSet.

  • read_mode – The collocations can be collapsed or expanded after collecting. Set this either to collapse (default), expand or compact.

  • reference – If read_mode is collapse, here you can set the name of the dataset to that the others should be collapsed. Default is the primary dataset.

  • collapser – If read_mode is collapse, here you can give your dictionary with additional collapser functions.

  • **kwargs – Keyword arguments for FileSet.