Releases: mideind/GreynirCorrect
Releases · mideind/GreynirCorrect
4.1.3
Version 4.1.2
- Minor fixes
- Explicit support for Python 3.13
Full Changelog: 4.1.0...4.1.2
4.1.0
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 fromerrtokenizer.pyagain public and visible
Full Changelog: 4.0.0...4.1.0
Version 4.0.0
- 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
- 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
- Minor addition to unique errors
- Explicitly noting support for Python 3.10, 3.11 in setup.py
Version 3.4.5
- 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
- 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_suggestionsset toFalse. 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
- Added back older command-line options for backwards compatibility
Version 3.4.0
- Fix an m2 formatting error by @peturorri in #43
- S005fix by @Holado in #42
- Minimal implentation to ignore listed annotations by @peturorri in #44
- README updated; check_errors() made available from command line by @Holado in #45
Full Changelog: 3.3.0...3.4.0