From fd72e1c32d0f6798b258559cfcdbc354786c2efa Mon Sep 17 00:00:00 2001 From: Cyprian Laskowski Date: Thu, 27 Feb 2020 10:27:45 +0100 Subject: [PATCH] IssueID #1098: added schema support and example for MWE datasets --- examples/mwe_lexicon/mwe1.xml | 3 - examples/mwe_lexicon/mwe_manual_example.xml | 156 ++++++++++++++++++++ resources/schema/inventory.xsd | 8 + resources/schema/mwe_lexicon.xsd | 50 ++++++- 4 files changed, 213 insertions(+), 4 deletions(-) delete mode 100644 examples/mwe_lexicon/mwe1.xml create mode 100644 examples/mwe_lexicon/mwe_manual_example.xml diff --git a/examples/mwe_lexicon/mwe1.xml b/examples/mwe_lexicon/mwe1.xml deleted file mode 100644 index 7cb7f64..0000000 --- a/examples/mwe_lexicon/mwe1.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/examples/mwe_lexicon/mwe_manual_example.xml b/examples/mwe_lexicon/mwe_manual_example.xml new file mode 100644 index 0000000..742b409 --- /dev/null +++ b/examples/mwe_lexicon/mwe_manual_example.xml @@ -0,0 +1,156 @@ + + + + + kdo ni po kisli juhi priplaval + + + + kdo + + + ni + + + po + + + kisli + + + juhi + + + priplaval + + + + 1 + + + + kdo ni po kisli župi priplaval + + + + + + + + + + Župani + so kljub volitvam povečini na vodilna občinska mesta + priplavali + po + kisli + juhi ali župi, kot jo nezmotljivo nemčimo na + štajerskem območju. + + + + + + + + + + kdo ni po kisli župi priplaval + + + + kdo + + + ni + + + po + + + kisli + + + župi + + + priplaval + + + + 1 + + + + kdo ni po kisli juhi priplaval + + + + + + + + + + Župani + so kljub volitvam povečini na vodilna občinska mesta + priplavali + po + kisli juhi ali + župi, kot + jo nezmotljivo nemčimo na štajerskem območju. + + + + + + + + + + kdo ni po juhi priplaval + + + + + kdo + + + ni + + + po + + + juhi + + + priplaval + + + + 24 + + + + + + + + + + + Tip tudi + ni + priplaval + po + juhi in bo hitro razumel, kaj vam gre po + glavi. + + + + + + + + diff --git a/resources/schema/inventory.xsd b/resources/schema/inventory.xsd index 9c7fc46..9cc84a5 100644 --- a/resources/schema/inventory.xsd +++ b/resources/schema/inventory.xsd @@ -60,8 +60,12 @@ + + + + @@ -75,6 +79,8 @@ + + @@ -135,6 +141,7 @@ + @@ -230,6 +237,7 @@ + diff --git a/resources/schema/mwe_lexicon.xsd b/resources/schema/mwe_lexicon.xsd index 8571b8a..4d7eb35 100644 --- a/resources/schema/mwe_lexicon.xsd +++ b/resources/schema/mwe_lexicon.xsd @@ -5,6 +5,54 @@ schemaLocation="http://www.w3.org/2001/xml.xsd" /> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +