Skip to content

Version 2.4.0

Compare
Choose a tag to compare
@vthorsteinsson vthorsteinsson released this 26 Jun 16:52
· 477 commits to master since this release
  • Added test for foreign sentences, i.e. sentences where less than 60% of the words are found in BÍN (or resolved by the composite word algorithm). Such sentences are now marked by an error code instead of being parsed.
  • More flexibility in specifying the maximum length of sentences to be parsed. The (overridable) default is now a maximum of 90 tokens in a sentence.
  • Added and enhanced functions for generating lemmas from parsed sentences. New properties include _Sentence.lemmas_and_cats and _Sentence.categories, and the method Greynir.parse_tokens() has been added.
  • Grammar and vocabulary improvements.
  • Better handling of abbreviations and multi-word prepositions.
  • Improved type annotations in the main Greynir API.
  • Added tests.
  • New features documented and examples added.