From 11d7b1324fb41605911f8cdd3dcf15f1b8f13df2 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 6 Nov 2013 14:46:57 +0000 Subject: [PATCH] added inflection_sv.xml --- src/ui/android/res/xml/inflection_sv.xml | 218 ++++++++++++++++++ .../ui/android/Translator.java | 2 +- 2 files changed, 219 insertions(+), 1 deletion(-) create mode 100644 src/ui/android/res/xml/inflection_sv.xml diff --git a/src/ui/android/res/xml/inflection_sv.xml b/src/ui/android/res/xml/inflection_sv.xml new file mode 100644 index 000000000..19621e5ea --- /dev/null +++ b/src/ui/android/res/xml/inflection_sv.xml @@ -0,0 +1,218 @@ + + +

Substantiv

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
singularplural
obestämdbestämdobestämdbestämd
nominativ
s Sg Indef Nom
s Sg Def Nom
s Pl Indef Nom
s Pl Def Nom
genitiv
s Sg Indef Gen
s Sg Def Gen
s Pl Indef Gen
s Pl Def Gen
+
+ +

Adjektiv

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
nominativ
positivkomparativsuperlativ
obestämdutrum
s (AF (APosit (Strong (GSg Utr))) Nom)
s (AF ACompar Nom)
s (AF (ASuperl SupStrong) Nom)
neutrum
s (AF (APosit (Strong (GSg Neutr))) Nom)
plural
s (AF (APosit (Strong GPl)) Nom)
bestämdsingular
s (AF (APosit (Weak Sg)) Nom)
s (AF (ASuperl SupWeak) Nom)
plural
s (AF (APosit (Weak Pl)) Nom)
genitiv
positivkomparativsuperlativ
obestämdutrum
s (AF (APosit (Strong (GSg Utr))) Gen)
s (AF ACompar Gen)
s (AF (ASuperl SupStrong) Gen)
neutrum
s (AF (APosit (Strong (GSg Neutr))) Gen)
plural
s (AF (APosit (Strong GPl)) Gen)
bestämdsingular
s (AF (APosit (Weak Sg)) Gen)
s (AF (ASuperl SupWeak) Gen)
plural
s (AF (APosit (Weak Pl)) Gen)
+
+ +

Adverb

+

s

+
+ +

Preposition

+

s

+
+ +

Verb

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
activepassive
infitiv
s (VI (VInfin Act))
s (VI (VInfin Pass))
presens
s (VF (VPres Act))
s (VF (VPres Pass))
preteritum
s (VF (VPret Act))
s (VF (VPret Pass))
supinum
s (VI (VSupin Act))
s (VI (VSupin Pass))
imperativ
s (VF (VImper Act))
s (VF (VImper Pass))
+ +

Presens Particip

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
nominativgenitiv
obestämdutrum
s (VI (VPtPret (Strong (GSg Utr)) Nom))
s (VI (VPtPret (Strong (GSg Utr)) Gen))
neutrum
s (VI (VPtPret (Strong (GSg Neutr)) Nom))
s (VI (VPtPret (Strong (GSg Neutr)) Gen))
plural
s (VI (VPtPret (Strong GPl) Nom))
s (VI (VPtPret (Strong GPl) Gen))
bestämdsingular
s (VI (VPtPret (Weak Sg) Nom))
s (VI (VPtPret (Weak Sg) Gen))
plural
s (VI (VPtPret (Weak Pl) Nom))
s (VI (VPtPret (Weak Pl) Gen))
+ +

Perfekt Particip

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
singularplural
obestämdbestämdobestämdbestämd
nominativ
s (VI (VPtPres Sg Indef Nom))
s (VI (VPtPres Sg Def Nom))
s (VI (VPtPres Pl Indef Nom))
s (VI (VPtPres Pl Def Nom))
genitiv
s (VI (VPtPres Sg Indef Gen))
s (VI (VPtPres Sg Def Gen))
s (VI (VPtPres Pl Indef Gen))
s (VI (VPtPres Pl Def Gen))
+
+
diff --git a/src/ui/android/src/org/grammaticalframework/ui/android/Translator.java b/src/ui/android/src/org/grammaticalframework/ui/android/Translator.java index bf6f8ad97..f3a247844 100644 --- a/src/ui/android/src/org/grammaticalframework/ui/android/Translator.java +++ b/src/ui/android/src/org/grammaticalframework/ui/android/Translator.java @@ -31,7 +31,7 @@ public class Translator { new Language("en-US", "English", "TranslateEng", R.xml.inflection_en), // AR new Language("cmn-Hans-CN", "Chinese", "TranslateChi", R.xml.inflection_cmn), new Language("fi-FI", "Finnish", "TranslateFin", 0), - new Language("sv-SE", "Swedish", "TranslateSwe", 0), + new Language("sv-SE", "Swedish", "TranslateSwe", R.xml.inflection_sv), */ new Language("en-US", "English", "ParseEng", R.xml.inflection_en), new Language("bg-BG", "Bulgarian", "ParseBul", R.xml.inflection_bg),