GreynirEngine icon indicating copy to clipboard operation
GreynirEngine copied to clipboard

Incorrect declension of "skipulags- og byggingarlög" in version 3.5.5.

Open helgihg opened this issue 1 year ago • 0 comments

Using version 3.5.5, consider the following ipython log.

In [15]: from reynir import NounPhrase

In [16]: name = NounPhrase("skipulags- og byggingarlög")

In [17]: name
Out[17]: <reynir.NounPhrase('skipulags- og byggingarlög'), parsed>

In [18]: name.dative
Out[18]: 'skipulags- og byggingarlög'

In [19]: name.genitive
Out[19]: 'skipulags- og byggingarlög'

The dative is expected to be "skipulags- og byggingarlögum" and the genitive is expected to be "skipulags- og byggingarlaga".

helgihg avatar Jul 22 '24 20:07 helgihg