Reynir

Latest version: v3.5.5

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

3.5.0

* Adapted to BinPackage 0.4.0
* Grammar updates

3.4.0

* New, more extensive and accurate verb frame data (see `config/Verbs.conf`)
* Various smaller fixes, especially to support GreynirCorrect

3.3.0

* Modified ``>>`` operator for matching ``SimpleTree`` instances so that it does not recurse into nested ``IP`` (inflectional phrase, *beygingarliður*) nonterminals. Added ``>>>`` operator which behaves like the ``>>`` used to behave.
* Added ``SimpleTree.substituted_text()`` function to make it easier to obtain the text within a subtree after replacing a particular contained node's text with new text. This is useful for instance in grammar correction, when generating suggested corrections.
* Smaller fixes in the grammar and the auto-capitalization logic.

3.2.0

* The original text associated with each token is now maintained through the parser stack. The original text of a token `t` is available through the `t.original` attribute.
* Support for expletives (*leppur*) has been added to the grammar. As an example, in the sentence *það snjóar* the verb terminal is now marked with the `_expl` variant. Only verbs marked as expletive-compatible in BÍN (i.e. having "það" in their inflection string) can match the `_expl` variant.
* Handling of person names and auto-uppercasing has been improved.

3.1.0

* Grammar normalized and enhanced. This may cause parse trees to be slightly different from previous versions. For example the phrase "í dag" no longer appears as a single tree node with a multi-word adverbial phrase, but instead as a temporal phrase subtree with preposition and noun nodes. Also, verb phrases are expanded into nested subtrees in a more consistent manner than before.
* Configuration files cleaned up as a consequence of the split-off of BinPackage.

3.0.0

* Switched to using BinPackage for vocabulary lookup
* Lots of type annotations
* Added function for simplistic lemmatization of text

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.