Add genitive grammar for Swedish
Add file for Swedish (sv) to enable {{GRAMMAR:genitive}} in that language.
Change-Id: I6175b53a882f8fe6a9ed88e16c7464593c5ce5d3
This commit is contained in:
parent
3ecd106172
commit
8ae6125e17
1 changed files with 13 additions and 0 deletions
13
languages/data/grammarTransformations/sv.json
Normal file
13
languages/data/grammarTransformations/sv.json
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Jon Harald Søby (jhsoby@gmail.com)"
|
||||
],
|
||||
"comment": "Rule for genitive in Swedish"
|
||||
},
|
||||
"genitive": [
|
||||
[ "([^a-zåäöáàæøéèüćč])$", "$1:s" ],
|
||||
[ "([sxz])$", "$1" ],
|
||||
[ "$", "s" ]
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue