Reynir

Latest version: v3.5.5

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

Scan your dependencies

Page 6 of 9

1.7.1

* Changes to `SimpleTree` parsing schema, including `VP` and `TO` nonterminals. See documentation for details.
* Greatly expanded vocabulary, with words such as *rímix*, *blörraður*, *vegu* and *skjöldu*.
* Support for passing options from the `Reynir` instance on to the tokenizer.
* Many enhancements and corrections in the grammar.
* Better support for derived parser classes that add their own fragments to the base grammar, such as for queries.

1.6.0

* Many grammar improvements
* Added conditional section support in `.grammar` files, with sections delimited by `$if()...$endif()`
* Added several grammar error checking rules in `Reynir.grammar`
* Added support for domains and hashtags to grammar, as noun phrases
* Lower-priority productions can now be added separately to nonterminals via `>` syntax, which is useful for grammar error rules
* Several additions to vocabulary, including *fertugsafmæli*, *heljarinnar* and *hæstlaunaður*

1.5.3

* Better handling of complex composites ("dómsmála-, ferðamála-, nýsköpunar- og iðnaðarráðherra")
* More robust handling of impersonal verbs with arguments ("mig dreymdi kött")
* Updated word lists (``ordalisti-first, -last, -all.dawg.bin``) for compound word builder
* Added ``NP-COMPANY`` nonterminal for company names to simplified trees
* Updated GitHub repository URLs to ``mideind`` instead of ``vthorsteinsson``

1.5.2

Added several compound words to vocabulary. Grammar fixes. No changes to the package API.

1.5.1

* Fixed handling of family names, especially those that can also be given names (*Hafstein*)
* Added functionality for the benefit of ``ReynirCorrect``
* Better support for multiple parsers using multiple grammars simultaneously
* Better support for addresses, especially those with a number+letter (*Laugavegur 21B*)
* Vocabulary fixes, including fix for BÍN error in *Landmannalaugar*

1.5.0

* Added `parent`, `enclosing_tag()`, `index`, `tidy_text` and `span` to `SimpleTree` class.
* Included `ord.auka.csv` and `systematic_additions.csv` files, used when building the vocabulary in `ord.compressed`.
* `Reynir.tokenize()` is now the function from `bintokenizer.py` instead of the one from the `Tokenizer` package.
* `BinErrata.conf` file now controls both edits and deletions from BÍN when building the `ord.compressed` vocabulary file.
* The default tokenization pipeline in `bintokenizer.py` has been enhanced to support the `ReynirCorrect` package.
* Better support for parsing and detecting errors in the use of impersonal verbs.
* Added `S-HEADING` and `VP-REV` nonterminals to simplified parse trees.
* Added `_Sentence.terminal_nodes` attribute for retrieving a list of terminal nodes in a parse tree for a sentence.
* Lots of additional support for place names and geographical information.

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.