[nl] three forms, hen/hun duality

This commit is contained in:
Avris 2021-01-17 18:57:02 +01:00
parent f4a0a26b37
commit ea0b0a79d2
4 changed files with 22 additions and 18 deletions

View File

@ -37,6 +37,7 @@ pronouns:
slashes: true
avoiding: false
others: 'Other pronouns'
threeForms: true
pronunciation:
enabled: true

View File

@ -9,19 +9,19 @@
<table class="table table-sm">
<thead>
<tr>
<th>Subject</th>
<th>Object</th>
<th>Possessive determiner</th>
<th>Possessive pronoun</th>
<th>nominative TODO</th>
<th>accusative TODO</th>
<th>pronominal_poss TODO</th>
<th>predicative_poss TODO</th>
<th>Reflexive</th>
</tr>
</thead>
<tbody>
<tr>
<td><Morpheme :pronoun="selectedPronoun" morpheme="pronoun_subject" :counter="counter"/></td>
<td><Morpheme :pronoun="selectedPronoun" morpheme="pronoun_object" :counter="counter"/></td>
<td><Morpheme :pronoun="selectedPronoun" morpheme="possessive_determiner" :counter="counter"/></td>
<td><Morpheme :pronoun="selectedPronoun" morpheme="possessive_pronoun" :counter="counter"/></td>
<td><Morpheme :pronoun="selectedPronoun" morpheme="nominative" :counter="counter"/></td>
<td><Morpheme :pronoun="selectedPronoun" morpheme="accusative" :counter="counter"/></td>
<td><Morpheme :pronoun="selectedPronoun" morpheme="pronominal_poss" :counter="counter"/></td>
<td><Morpheme :pronoun="selectedPronoun" morpheme="predicative_poss" :counter="counter"/></td>
<td><Morpheme :pronoun="selectedPronoun" morpheme="reflexive" :counter="counter"/></td>
</tr>
</tbody>

View File

@ -1,11 +1,12 @@
key description normative nominative accusative pronominal_poss predicative_poss reflexive plural pluralHonorific pronounceable history thirdForm smallForm sourcesInfo
hij,hij/hem/zijn Masculine TRUE hij hem zijn zijne zichzelf FALSE FALSE TRUE
zij,zij/haar/haar Feminine TRUE zij haar haar hare haarzelf FALSE FALSE TRUE
hen,hen/hen/hun Neutral FALSE hen hen hun hunne hunzelf FALSE FALSE TRUE
hij,hij/hem,hij/hem/zijn Masculine TRUE hij hem zijn zijne zichzelf FALSE FALSE TRUE
zij,zij/haar,zij/haar/haar Feminine TRUE zij haar haar hare haarzelf FALSE FALSE TRUE
hen,hen/hun,hen/hen/hun Neutral FALSE hen hen hun hunne hunzelf FALSE FALSE TRUE Mogelijk ook met {/hen/hun/hun=“hun”} als accusatief. Deze lijst van bronnen bevat zowel de versie met {/hen=“hen/hen/hun”} als {/hen/hun/hun=“/hen/hun/hun”}.
hen/hun/hun Neutral FALSE hen hun hun hunne hunzelf FALSE FALSE TRUE Mogelijk ook met {/hen/hen/hun=“hen”} als accusatief. Deze lijst van bronnen bevat zowel de versie met {/hen=“hen/hen/hun”} als {/hen/hun/hun=“/hen/hun/hun”}.
die/hen,die/hen/hun Neutral FALSE die hen hun hunne hunzelf FALSE FALSE TRUE
die,die/die/diens Neutral FALSE die die diens diense dienzelf FALSE FALSE TRUE
dee,dee/dem/dijr Neutral FALSE dee dem dijr dijre dijrzelf FALSE FALSE TRUE
dij,dij/dem/dijr Neutral FALSE dij dem dijr dijre dijrzelf FALSE FALSE TRUE
die,die/die,die/diens,die/die/diens Neutral FALSE die die diens diense dienzelf FALSE FALSE TRUE
dee,dee/dem,dee/dem/dijr Neutral FALSE dee dem dijr dijre dijrzelf FALSE FALSE TRUE
dij,dij/dem,dij/dem/dijr Neutral FALSE dij dem dijr dijre dijrzelf FALSE FALSE TRUE
hen/hens,hen/hen/hens Neutral FALSE hen hen hens hense henzelf FALSE FALSE TRUE
zhij,zhij/zhaar/zhaar Neutral FALSE zhij zhaar zhaar zhare zhaarself FALSE FALSE TRUE Based on the English pronoun "zhe/zher".
zem,zem/zeer/zeer Neutral FALSE zem zeer zeer zere zeerself FALSE FALSE TRUE Based on the English pronoun "ze/zir".
zhij,zhij/zhaar,zhij/zhaar/zhaar Neutral FALSE zhij zhaar zhaar zhare zhaarself FALSE FALSE TRUE Based on the English pronoun "zhe/zher".
zem,zem/zeer,zem/zeer/zeer Neutral FALSE zem zeer zeer zere zeerself FALSE FALSE TRUE Based on the English pronoun "ze/zir".

Can't render this file because it has a wrong number of fields in line 2.

View File

@ -297,12 +297,14 @@ export class Pronoun {
nameOptions() {
const options = new Set();
const optionsN = this.morphemes[MORPHEMES[0]].split('&');
const optionsG = this.morphemes[MORPHEMES[1]] === this.morphemes[MORPHEMES[0]] && MORPHEMES.length > 2
const optionsG = this.morphemes[MORPHEMES[1]] === this.morphemes[MORPHEMES[0]] && MORPHEMES.length > 2 && !config.pronouns.threeForms
? this.morphemes[MORPHEMES[2]].split('&')
: this.morphemes[MORPHEMES[1]].split('&');
for (let i in optionsN) {
let nameOption = optionsN[i] + '/' + optionsG[i < optionsG.length - 1 ? i : optionsG.length - 1];
if (this.thirdForm) {
if (config.pronouns.threeForms) {
nameOption += '/' + this.morphemes[MORPHEMES[2]].split('&')[i];
} else if (this.thirdForm) {
nameOption += '/' + this.morphemes[this.thirdForm].split('&')[i];
}