Reynir

Latest version: v3.5.7

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

Scan your dependencies

Page 6 of 9

1.8.1

* Fixes bug in `bintokenizer.py` which could lead to wrong disambiguation of words within phrases defined in the `[ambiguous_phrases]` section in `Phrases.conf`. This could cause strange parse results.
* Many additions and enhancements in `Reynir.grammar`.

1.8.0

* Added `accusative_np`, `dative_np` and `genitive_np` properties on `SimpleTree` instances, to convert noun phrases between cases. This *inter alia* enables correct declension of noun phrases to be shown when checking grammar in text, cf. the _ReynirCorrect_ package.
* Tuning and enhancement of the context-free grammar in `Reynir.grammar`

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.

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.