Merge branch '366-hide-null-morphemes' into 'main'

Hide undefined morphemes which are not defined by the generator or the table

Closes #366

See merge request PronounsPage/PronounsPage!388
This commit is contained in:
Andrea Vos 2023-12-03 10:52:13 +00:00
commit f541c9ee75
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<template>
<span>
<span v-if="pronoun.getMorpheme(morpheme, counter)">
<Morpheme :pronoun="pronoun" :morpheme="morpheme" :counter="counter" :prepend="prepend" :append="append"/>
<span v-if="config.pronunciation.enabled && pronoun.pronounceable && pronoun.getPronunciation(morpheme, counter) && !pronoun.getPronunciation(morpheme, counter).startsWith('=')" class="text-muted">
/{{prependPr}}{{pronoun.getPronunciation(morpheme, counter)}}{{appendPr}}/

View File

@ -1,5 +1,5 @@
singular plural isHonorific comprehensive
{'pronoun_n} ist so süß. {pronoun_n} sind so süß. FALSE FALSE
{'pronoun_n} ist so süß. {'pronoun_n} sind so süß. FALSE FALSE
Ist das {possessive_m_n} Hund? FALSE FALSE
Heute hat {pronoun_n} {possessive_m_a} Apfel, {possessive_f_a} Birne und {possessive_n_a} Törtchen dabei. Heute haben {pronoun_n} {possessive_m_a} Apfel, {possessive_f_a} Birne und {possessive_n_a} Törtchen dabei. FALSE TRUE
{'possessive_n_n} Kaninchen spielt mit {possessive_m_d} Hund. FALSE TRUE

1 singular plural isHonorific comprehensive
2 {'pronoun_n} ist so süß. {pronoun_n} sind so süß. {'pronoun_n} sind so süß. FALSE FALSE
3 Ist das {possessive_m_n} Hund? FALSE FALSE
4 Heute hat {pronoun_n} {possessive_m_a} Apfel, {possessive_f_a} Birne und {possessive_n_a} Törtchen dabei. Heute haben {pronoun_n} {possessive_m_a} Apfel, {possessive_f_a} Birne und {possessive_n_a} Törtchen dabei. FALSE TRUE
5 {'possessive_n_n} Kaninchen spielt mit {possessive_m_d} Hund. FALSE TRUE