From bf36c5db152f07be6f25f762c5b4462ed31d7eec Mon Sep 17 00:00:00 2001 From: beyeranq Date: Wed, 27 Nov 2019 09:52:50 +0100 Subject: [PATCH] show-text, author layout changes (buttons, alignment), json text complexity explanation simplified --- src/app/author/author.page.html | 16 ++++++------ src/app/show-text/show-text.page.html | 37 +++++++++++++++------------ src/assets/i18n/de.json | 4 +-- src/assets/i18n/en.json | 4 +-- 4 files changed, 32 insertions(+), 29 deletions(-) diff --git a/src/app/author/author.page.html b/src/app/author/author.page.html index 9db8090..0606afe 100644 --- a/src/app/author/author.page.html +++ b/src/app/author/author.page.html @@ -19,9 +19,8 @@ - {{ 'MOST_RECENT_SETUP' | translate }}: -
-
+ {{ 'MOST_RECENT_SETUP' | translate }}: +
@@ -34,7 +33,7 @@ @@ -44,14 +43,15 @@ - +

{{'AUTHOR' | translate}}

- + {{author.name}} @@ -64,4 +64,4 @@ - + \ No newline at end of file diff --git a/src/app/show-text/show-text.page.html b/src/app/show-text/show-text.page.html index d6053e6..c4a0941 100644 --- a/src/app/show-text/show-text.page.html +++ b/src/app/show-text/show-text.page.html @@ -9,7 +9,8 @@ - {{corpusService.currentCorpus?.title}} {{corpusService.currentUrn?.split(":")[corpusService.currentUrn?.split(":").length - 1]}} + {{corpusService.currentCorpus?.title}} + {{corpusService.currentUrn?.split(":")[corpusService.currentUrn?.split(":").length - 1]}} @@ -26,7 +27,7 @@
@@ -37,7 +38,7 @@
{{node.annis_tok}}{{ getWhiteSpace(i) }} + [class.oov]="node.is_oov">{{node.annis_tok}}{{ getWhiteSpace(i) }}
{{corpusService.currentText}} @@ -46,8 +47,9 @@ + @@ -56,9 +58,10 @@
-

{{ 'TEXT_COMPLEXITY' | translate }}

+

+ {{ 'TEXT_COMPLEXITY' | translate }}

-
@@ -76,23 +79,15 @@ {{ 'TEXT_COMPLEXITY_DOCUMENTATION' | translate }}
- + {{ 'GENERATE_FILE_DOCX' | translate }} - + {{ 'GENERATE_FILE_PDF' | translate }} - - - {{ 'VOCABULARY_CHECK' | translate }} - - - - {{ "EXERCISE_SET_PARAMETERS" | translate}} -
@@ -111,9 +106,17 @@ {{ 'BACK' | translate }} + + + {{ 'VOCABULARY_CHECK' | translate }} + + + + {{ "EXERCISE_SET_PARAMETERS" | translate}} +
- + \ No newline at end of file diff --git a/src/assets/i18n/de.json b/src/assets/i18n/de.json index 1ba40fe..7c24364 100644 --- a/src/assets/i18n/de.json +++ b/src/assets/i18n/de.json @@ -307,10 +307,10 @@ "TEXT_COMPLEXITY_AVERAGE_SENTENCE_LENGTH": "Wörter pro Satz (Ø)", "TEXT_COMPLEXITY_AVERAGE_WORD_LENGTH": "Wortlänge (Ø)", "TEXT_COMPLEXITY_CLAUSE_COUNT": "Anzahl der Hauptsätze", - "TEXT_COMPLEXITY_DOCUMENTATION": "Das Gesamtmaß berücksichtigt alle hier gezeigten Einzelwerte gleichermaßen. Die Anzahl der Wörter und Sätze wird jeweils in vorher definierte Intervalle mit 9 Schritten (0-10, 10-50 etc.) eingeordnet. Die Vokabeldichte berechnet sich aus dem Verhältnis der einzigartigen Inhaltswörter zur Gesamtlänge des Textes.", + "TEXT_COMPLEXITY_DOCUMENTATION": "Das Gesamtmaß berücksichtigt alle hier gezeigten Einzelwerte gleichermaßen. Die lexikalische Dichte berechnet sich aus dem Verhältnis der Anzahl der differenten Inhaltswörter (z.B. rex) zur Gesamtlänge des Textes.", "TEXT_COMPLEXITY_GERUND_COUNT": "Anzahl der Gerundien", "TEXT_COMPLEXITY_INFINITIVE_COUNT": "Anzahl der Infinitive", - "TEXT_COMPLEXITY_LEXICAL_DENSITY": "Vokabeldichte", + "TEXT_COMPLEXITY_LEXICAL_DENSITY": "Lexikalische Dichte", "TEXT_COMPLEXITY_PART_OF_SPEECH_COUNT": "Anzahl verschiedener Wortarten", "TEXT_COMPLEXITY_PARTICIPLE_COUNT": "Anzahl der Partizipien", "TEXT_COMPLEXITY_PUNCTUATION_COUNT": "Anzahl der Satzzeichen", diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index fd03634..c3321e7 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -307,10 +307,10 @@ "TEXT_COMPLEXITY_AVERAGE_SENTENCE_LENGTH": "Words per sentence (Ø)", "TEXT_COMPLEXITY_AVERAGE_WORD_LENGTH": "Word length (Ø)", "TEXT_COMPLEXITY_CLAUSE_COUNT": "Main clause count", - "TEXT_COMPLEXITY_DOCUMENTATION": "The overall measure for text complexity takes into account all the single values presented here in equal proportions. Word and sentence counts are used with predefined ranges of 9 steps (0 to 10, 10 to 50 etc.). Vocabulary density is measured by comparing the number of unique content words to the overall length of the text.", + "TEXT_COMPLEXITY_DOCUMENTATION": "The overall measure for text complexity takes into account all the single values presented here in equal proportions. Word and sentence counts are used with predefined ranges of 9 steps (0 to 10, 10 to 50 etc.). Lexical density is measured by comparing the number of unique content words to the overall length of the text.", "TEXT_COMPLEXITY_GERUND_COUNT": "Gerund count", "TEXT_COMPLEXITY_INFINITIVE_COUNT": "Infinitive count", - "TEXT_COMPLEXITY_LEXICAL_DENSITY": "Vocabulary density", + "TEXT_COMPLEXITY_LEXICAL_DENSITY": "Lexical density", "TEXT_COMPLEXITY_PART_OF_SPEECH_COUNT": "Number of different parts of speech", "TEXT_COMPLEXITY_PARTICIPLE_COUNT": "Participle count", "TEXT_COMPLEXITY_PUNCTUATION_COUNT": "Punctuation mark count", -- GitLab