diff --git a/src/components/Header.vue b/src/components/Header.vue index ca59317ca2e355ebbb177717dbd36c6bfacaf5ac..d35a6f00685f3e7015c182ad7a12e69193b191b9 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -28,6 +28,10 @@ import ADJ_masc_fem_fem from './inflection/AdjectiveMF_F.vue' import DET from './inflection/Determinative.vue' import DET_adj from './inflection/DeterminativeAdj.vue' import PRON from './inflection/Pronoun.vue' +import NOUN from './inflection/Noun.vue' +import NOUN_reg_fem from './inflection/NounRegFem.vue' +import VERB from './inflection/Verb.vue' +import VERB_sPass from './inflection/VerbSPass.vue' export default { name: 'Header', @@ -46,7 +50,11 @@ export default { ADJ_masc_fem_fem, DET, DET_adj, - PRON + PRON, + NOUN, + NOUN_reg_fem, + VERB, + VERB_sPass } } </script> diff --git a/src/components/inflection/Noun.vue b/src/components/inflection/Noun.vue new file mode 100644 index 0000000000000000000000000000000000000000..ac8a7deda37ec957d07fdc0fba630218cba0fc62 --- /dev/null +++ b/src/components/inflection/Noun.vue @@ -0,0 +1,26 @@ +<template> + <table> + <tr> + <th rowspan="2">Substantiv</th><th colspan="2">Entall</th><th colspan="2">Flertall</th> + </tr> + <tr> + <th>Ubestemt</th><th>Bestemt</th><th>Ubestemt</th><th>Bestemt</th> + </tr> + <tr v-for="(std, index) in standardisations" :key="index"> + <th>{{std.tags[1]}}</th> + <td>{{std.inflection[0].word_form}}</td> + <td>{{std.inflection[1].word_form}}</td> + <td>{{std.inflection[2].word_form}}</td> + <td>{{std.inflection[3].word_form}}</td> + </tr> + </table> +</template> + +<script> +export default { + name: "NOUN", + props: { + standardisations: Array + } +} +</script> diff --git a/src/components/inflection/NounRegFem.vue b/src/components/inflection/NounRegFem.vue new file mode 100644 index 0000000000000000000000000000000000000000..6fcc820e5d2d336502a97e47cffc2d01a7758997 --- /dev/null +++ b/src/components/inflection/NounRegFem.vue @@ -0,0 +1,17 @@ +<template> + <NOUN :standardisations="standardisations"></NOUN> +</template> + +<script> +import NOUN from './Noun.vue' + +export default { + name: "NOUN_reg_fem", + props: { + standardisations: Array + }, + components: { + NOUN + } +} +</script> diff --git a/src/components/inflection/Verb.vue b/src/components/inflection/Verb.vue new file mode 100644 index 0000000000000000000000000000000000000000..4a320f687377d0a6563d4c86ea15806ff3549650 --- /dev/null +++ b/src/components/inflection/Verb.vue @@ -0,0 +1,42 @@ +<template> + <table> + <tr> + <th rowspan="2">Verb</th> + <th rowspan="2">Infinitiv</th> + <th rowspan="2">Presens</th> + <th rowspan="2">Preteritum</th> + <th rowspan="2">Presens perfektum</th> + <th rowspan="2">Imperativ</th> + <th colspan="4">Perfektum partisipp</th> + <th rowspan="2">Presens partisipp</th> + </tr> + <tr> + <th>Hankjønn/hunkjønn</th> + <th>Intetkjønn</th> + <th>Bestemt form</th> + <th>Flertall</th> + </tr> + <tr v-for="(std, index) in standardisations" :key="index"> + <th></th> + <td>å {{std.inflection[0].word_form + (std.inflection[1].word_form ? '/' + std.inflection[1].word_form : '')}}</td> + <td>{{std.inflection[2].word_form}}</td> + <td>{{std.inflection[5].word_form}}</td> + <td>har {{std.inflection[6].word_form}}</td> + <td>{{std.inflection[13].word_form}}!</td> + <td>{{std.inflection[8].word_form}}</td> + <td>{{std.inflection[7].word_form}}</td> + <td>{{std.inflection[10].word_form}}</td> + <td>{{std.inflection[11].word_form}}</td> + <td>{{std.inflection[12].word_form}}</td> + </tr> + </table> +</template> + +<script> +export default { + name: "VERB", + props: { + standardisations: Array + } +} +</script> diff --git a/src/components/inflection/VerbSPass.vue b/src/components/inflection/VerbSPass.vue new file mode 100644 index 0000000000000000000000000000000000000000..d0b96e32c151c2bd8319af4db8187e28701617d0 --- /dev/null +++ b/src/components/inflection/VerbSPass.vue @@ -0,0 +1,27 @@ +<template> + <table> + <tr> + <th>Verb</th> + <th>Infinitiv</th> + <th>Presens</th> + <th>Preteritum</th> + <th>Presens perfektum</th> + </tr> + <tr v-for="(std, index) in standardisations" :key="index"> + <td></td> + <td>å {{std.inflection[0].word_form}}</td> + <td>{{std.inflection[1].word_form}}</td> + <td>{{std.inflection[2].word_form}}</td> + <td>{{std.inflection[3].word_form}}</td> + </tr> + </table> +</template> + +<script> +export default { + name: "VERB_sPass", + props: { + standardisations: Array + } +} +</script>