Lattices

Reference

This software was used in Beniamine (2021).

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 a lattice of inflection classes, with (default) html output

/$ qumin action=lattice pats.defective=True pats.overabundant.keep=True data=<dataset.package.json>

Full reference

Lattice options are under the lattice namespace. Available lattice options (see also the common options):

class qumin.utils.config.LatticeConfig(*, shorten=False, aoc=False, html=False, ctxt=False, stat=False, pdf=True, png=False)[source]

Configuration for the ``lattice`` action.

Parameters:
  • shorten (bool) – Drop redundant columns altogether. Useful for big contexts, but loses information. The lattice shape and stats will be the same. Avoid using with –html

  • aoc (bool) – Only attribute and object concepts

  • html (bool) – Export to html

  • ctxt (bool) – Export as a context

  • stat (bool) – Output stats about the lattice

  • pdf (bool) – Export as pdf

  • png (bool) – Export as png

The default configuration for these keys looks like this:

lattice:
  shorten: false
  aoc: false
  html: false
  ctxt: false
  stat: false
  pdf: true
  png: false

See the full Default configuration