Skip to content

Releases: mideind/GreynirCorrect

4.1.3

12 Dec 16:23

Choose a tag to compare

Changes

  • Added GitHub Actions workflow for automated PyPI publishing using trusted publishing
  • Expanded CI test matrix to Python 3.9–3.14 and PyPy 3.11
  • Explicitly include py.typed marker in package data

Version 4.1.2

29 Aug 15:45

Choose a tag to compare

  • Minor fixes
  • Explicit support for Python 3.13

Full Changelog: 4.1.0...4.1.2

4.1.0

06 May 10:41

Choose a tag to compare

What's Changed

  • Re-enabled the older (legacy) "simple" API (check_single(), etc.)
  • Fixed bug when reading the configuration file config/GreynirCorrect.conf
  • Updated and fixed type annotations
  • Made the tokenize() function from errtokenizer.py again public and visible

Full Changelog: 4.0.0...4.1.0

Version 4.0.0

15 Sep 15:44

Choose a tag to compare

  • Added support for Flesch-Kincaid readability score
  • Added support for rare word detection
  • Added support for E006: Abbreviations should be written in full. (can be disabled by ignore_rules)
  • Added support for E007: Exclamation marks are inappropriate. (can be disabled by ignore_rules)
  • Redesigned the API to be more user friendly
  • Some minor bug fixes

Full Changelog: 3.4.7...4.0.0

Version 3.4.7

28 Jun 10:54

Choose a tag to compare

  • Added support for handling custom tone-of-voice issues through an optional configuration file
  • Added support for loading an optional module with additional patterns, from the custom config
  • Default GreynirCorrect.conf now loaded into a Settings object that may be updated by the custom config
  • New error codes added for tone-of-voice issues, V001 (simple rules defined in the custom config) and V002 (patterns loaded as a Python module through a file path in the custom configuration file)
  • Allowing consecutive numbers, for phone numbers, etc.

Full Changelog: 3.4.6...3.4.7

Version 3.4.6

12 Dec 18:54

Choose a tag to compare

  • Minor addition to unique errors
  • Explicitly noting support for Python 3.10, 3.11 in setup.py

Version 3.4.5

23 Sep 16:09

Choose a tag to compare

  • Taboo data updated
  • Error code documentation updated
  • Guidelines made more detailed
  • Various error handling updated
  • Neural sentence classifier added to grammar checking CLI

Version 3.4.4

31 May 17:40

Choose a tag to compare

  • Latest version of Ritmyndir added
  • 'í takti við' removed as an error, no basis in The Standards can be found
  • Capitalized words are no longer marked as errors unless the suggested value is also capitalized
  • Certain common words are now excluded from the taboo vocabulary, such as 'nýbúinn' (very common with another meaning) and 'hommi' (should not be marked as a taboo word)
  • Capitalized adjectives are still marked as an error, but only with the option suppress_suggestions set to False. These are in many cases a part of named entities (Danska ríkisútvarpið, Íslensk erfðagreining), but are also common as errors.
  • Spans for 'af/að' errors limited to the word that is changed. The same goes for the suggest value.

Version 3.4.1

10 May 15:59

Choose a tag to compare

  • Added back older command-line options for backwards compatibility

Version 3.4.0

10 May 15:27
c3c85dc

Choose a tag to compare

Full Changelog: 3.3.0...3.4.0