Skip to content

1.3.2

Latest

Choose a tag to compare

@vthorsteinsson vthorsteinsson released this 23 Jun 15:28
8c077ff

Bug fix

Fixes a regression (introduced in 1.3.0) where the case-lookup functions
(lookup_nominative / lookup_accusative / lookup_dative / lookup_genitive)
and lookup_forms() would run the word compounder on a capitalized surface
form whose lowercase spelling is a genuine BÍN word
.

For example, Æðarvarp (a real neuter noun æðarvarp in BÍN) was mis-resolved
as the synthetic compound æðar-varp (bin_id 0) instead of the genuine
whole-word entry. This regressed NounPhrase declension in GreynirEngine
(Æðarvarp 17Æðar-varp 17).

The compounder now fires only when a word is genuinely absent from BÍN in any
casing. Genuine compounds (Síamskattarkjóll) and user-hyphenated words
(Vestur-hestur) are unaffected.

Downstream: GreynirEngine requires islenska>=1.3.2 for this fix.