Macroclasses¶
Reference
Work on automatical inference of macroclasses was published in Beniamine, Bonami and Sagot (2018)”.
By default, this will start by computing patterns. To work with pre-computed patterns, pass the path to the pattern computation metadata with patterns=<path/to/metadata.json>.
Inferring macroclasses
/$ qumin action=macroclasses data=<dataset.package.json>
Full reference¶
Macroclass options are under the macroclasses namespace. Available macroclass options (see also the common options):
- class qumin.config.config.MacroclassConfig(*, horizontal=False, square=False, topdown=True)[source]¶
Configuration for the ``macroclasses`` action.
- Parameters:
Example:
square=True square=False │ ┌──┴──┐ │ ╱╲ horizontal=False │ │ ┌─┴─┐ │ ╱ ╲ topdown=True │ │ │ │ │ ╱ ╱╲ │ │ │ │ │ ╱ ╱ ╲ │__│___│___│ │╱___╱____╲ │─────┐ │⟍ │───┐ ├ │ ⟍ horizontal=True │ ├─┘ │⟍ ⟋ topdown=True │───┘ │⟋ │____________ │____________
The default configuration for these keys looks like this:
horizontal: false
square: false
topdown: true