Tags

Tags give the ability to mark specific points in history as being important
  • 4.0.0

    - **[features]**
        - **[breaking]** Reorganize the lattice API:
            - New options for lattice (``horizontal`` and ``layout``) and macroclasses (``horizontal``, ``square``, ``topdown``).
            - More customizable API.
            - The lattice drawing algorithm can now be controlled with the `seed` keyword argument, making the results reproductible.
            - Drop duplicated lexemes / patterns when computing the lattice, to ensure faster computations.
            - `PatternStore` now has the following export methods: `.to_incidence_table()`, `to_microclasses()`, `.to_lattice()`
        - **[breaking]** Add form-level features for conditioning in predictability calculations. Move former lexeme-level features to ``pred.features.lexemes``.
        - **[breaking]** Remove deprecated `H` and `ent_heatmap` actions.
        - **[breaking]** Action `heatmap` deleted and renamed to `microclasses`.
        - **[breaking]** Namespace for `macroclasses` action is corrected from `macroclass` to `macroclasses`.
        - Add the possibility to weight onehot encodings of patterns for overabundant patterns, using frequencies (through the API).
        - Add a `pred.export_log` keyword, which exports human readable details about distributions in dedicated markdown files (previously was dumped on stdout when set to verbose). Avoid double calculations, which used to be done when creating the log. No more "_debug" outputs are generated.
    - **[bugfix]**: various small bugfixes
    - **[other]**
        - When several scripts are chained, load paradigms and segments only once.
        - Documentation improvements, explicitly documenting how to run Qumin on data subsets, adding CLI links to the home page, adding optional installs to the tutorial.
        - Several keywords that used to allow both strings and lists of strings (e.g. ``pos``) will now enforce lists of string, to facilitate user input type checking.
        - Moved `config.py` file from `utils/` module to `config/`.
  • 3.3.3

    b3b77918 · Adds newer pubs ·
    - **[features]**
        - Add option ``checkSegments`` to disable the segment check, which can be slow on large datasets.
    - **[bugfix]**
        - Phonological systems of sound are now represented internally as `Inventory` instances (rather than a single static Inventory class).
        This fixes issue #103, allowing for parallel computations on windows and mac.
        - Increase lattice computations speed (in some cases, all lexemes were kept, instead of the microclasses only).
    - **[other]**
        - Enable `pandas>=3.0.0` and `numpy>=2.4`.
        - Handle the ``#MISSING#`` tag (same usage as ``#DEF#``) introduced in paralex 2.3.
        - Higher verbosity in lattice computations.
        - Fix documentation for features in entropy.
    
    Hotfixes
    --------
    
    - 3.3.1: Explicitly convert incidence table to str dtype to pass the tests.
    - 3.3.2:
        - Fix regression: Qumin only took the first forms table in case of multipart dataset;
        - Fix an issue with the sorting of overabundant forms.
    - 3.3.3:
        - Restore multiprocessing (broken when sound inventories became large)
        - Minor fix for the frequency of forms with identical sound shapes.
        - Fix RAM consumption leak (broken in 3.3)
        - Cleanup in Patterns code
  • 3.1.0

    A round of improvements to facilitate use and maintenance (no changes to results):
    
    - small UX improvements on lattice scripts.
    - Add an option to pass a list of lexeme ids to use for the next computation (instead of all lexemes).
    - More consistent import of paradigms / patterns.
    - Modernize the build process: move to pyproject.toml and remove setup.cfg.
    - Default to cpus=1 due to incompatibility with Mac & Windows.
    - Add option to autosort cells in heatmaps, according to result similarity.
    - rewrite docs and change docs theme.
  • 3.0.10

    Release: v3.0.10
    This version brings a big lot of fixes to v3.0.0:
    
    - 3.0.1: Fixes errors when dataset had 1-phoneme long words, and the phoneme had multiple graphemes.
    - 3.0.2: Fixes two bugs:
        - process killed by kernel when run with cell frequencies, due to generating crossproduct of categories (issue #92).
        - Fix bug occuring with debug, where index of predicted frequencies were duplicated.
    - 3.0.3: Fixes generated forms having extra spaces due to not resegmenting anymore (issue #93)
    - 3.0.4: Fixes broken cell probabilities with cell samples (issue #96)
    - 3.0.5: Fixes misalignment in patterns dfs due to merging/unmerging of cells (issue #93 again).
    - 3.0.6: Moves integration tests to makefile to use less minutes (issue #97).
    - 3.0.7: Fix unwanted reordering of cells, leading to shuffled entropy results.
    - 3.0.8: Fixes a few bugs in entropy visualizations.
    - 3.0.9: Remove ``tokens_freq.cells`` from CLI and always compute weighted entropies if available. Store the results in ``metadata.json``.
    - 3.0.10:
        - Ensure the ``Metadata`` class (:class:`qumin.utils.Metadata`) can find the current run directory, when Hydra is not in use, e.g. in custom scripts. See the class documentation for additional details.
        - Fix broken features in entropy computations.
        - Various small fixes and better warnings.
  • v3.0.0

    Release: v3.0.0
    Version 3.0
    ~~~~~~~~~
    
    Overall changes pertain to frequencies, user interface, migration to long format & Paralex compliance.
    
    - Moved the project to gitlab !
    - Implement parallelisation for finding patterns and finding applicable patterns. See ``cpus`` config option.
    - **[breaking]** Switch patterns management to long format everywhere.
    - **[breaking]** Change management of imports/exports. Outputs from Qumin are now shipped as a `Frictionless DataPackage <https://datapackage.org/>`_. To import them, a path to the computation ``metadata.json`` must be provided.
    - Addition of frequencies:
        - Read frequencies from as much sources as possible in the Paralex package (Frequencies class).
        - Weight cells based on the predictor-target pair frequency.
    - Paralex compliance changes:
        - Usage of the ``form_id`` introduced in Paralex.
        - Sounds file in conformity with Paralex (``Segs`` -> ``sound_id``)
    - User interface improvements:
        - Change the format of human readable patterns to a more readable markdown export
        - Add keywords ``pos``, ``sample_cells``, ``sample_lexemes`` keyword to filter paradigms.
        - Prevent Matplotlib font manager from spamming the log in debug mode.
        - Improve and extend visualisations of Entropy distributions.
    - Sampling management changes:
        - ``most_freq=False`` replaced by ``force_random=True``.
        - Addition of a seed option to determinise sampling.  By default, sample by frequency.
        - Change ``sample`` for ``sample_lexemes`` and add ``sample_cells`` with the same behaviour for cells.
        - Removal of overabundant forms is now by default done by frequency (``pats.overabundant.freq=True``), and can optionally prioritize some tags (``pats.overabudant.tags="[standard_form,preferred_form]"``).
    - **[breaking]** Removal:
        - Support for sound table "Seg." column.
        - Bipartite entropy computations
        - All alternation algorithms except ``phon`` and ``edits`` (former ``patternsPhonsim`` and ``patternsLevenshtein``).
        - Patterns evaluation with ``action=eval``.
    - And some various smaller bug fixes !
  • V1.0

    dfeffdce · Qumin V.1 ·