Skip to content

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 07 Dec 00:20
aea54a9

2.1.0 (2023-12-07)

Features

  • adds 'dimension_column' as argument for all Analyzers; enables default_analyzer for Metadata (d192a07)
  • adds convenience module dimcat.enums for easily importing any enum from DiMCAT. (7cd3a3f)
  • adds PieceGrouper (55c6d54)
  • enable .make_ranking_table() for NgramTable (convenience for calling .make_ngram_tuples() first) (5a788d5)
  • enables group_cols and group_modes for bubble_plots, too (0d8ba17)
  • includes the UnitOfAnalysis enum as 'group_cols' argument for Result's methods (efd7fdb)
  • introduces new HarmonyLabelsFormat "ROMAN_REDUCED" (0a08952)
  • NgramTable.get_transitions() returns new result type Transitions (0723fe1)
  • NgramTable.make_ngram_tuples() now actually returns tuples, not tables (which are retrieved via .make_ngram_table()). They come as a new Result type, NgramTuples, which also allows for .make_ranking_table() (3746437)
  • NgramTable() uses the new Transitions for both .plot() and .plot_grouped() (b12b130)
  • PieceGrouper and CorpusGrouper move the respective index level to level 0 (1b7f436)
  • Transitions result type plots methods return Plotly heatmaps (3df7880)

Bug Fixes

  • base.resolve_object_spec() needs to check if config first, then if DimcatObject (8c8c4d2)
  • do not convert "count" column to "Int64" by default (because of Plotly bug); instead convert integer columns when making ranking tables to prevent counts coming as floats (59bd92a)
  • Pipeline calls step.process_resource() instead of ._process_resource() because otherwise the call to .check_resource() is skipped (024bf65)

Documentation

  • moves error to dedicated errors.md notebook. fixes #61 (390b76e)