From 3e129eba41c7d7f9e7a3f418e1c16fbdde97f095 Mon Sep 17 00:00:00 2001 From: Cyprian Laskowski Date: Thu, 15 Oct 2020 21:13:47 +0200 Subject: [PATCH] IssueID #1224: added initial morphological lexicon support --- .../morphological_lexicon/sloleks_example.xml | 55 +++++++++++++++++ resources/schema/inventory.xsd | 60 +++++++++++++++++++ resources/schema/morphological_lexicon.xsd | 42 +++++++++++++ 3 files changed, 157 insertions(+) create mode 100644 examples/morphological_lexicon/sloleks_example.xml create mode 100644 resources/schema/morphological_lexicon.xsd diff --git a/examples/morphological_lexicon/sloleks_example.xml b/examples/morphological_lexicon/sloleks_example.xml new file mode 100644 index 0000000..9664e35 --- /dev/null +++ b/examples/morphological_lexicon/sloleks_example.xml @@ -0,0 +1,55 @@ + + + + + klop + + + klop + + + samostalnik + common + feminine + Sz.1.2.o + + + 999999 + + + + + + Sozim + + nominative + plural + + + + + 222222 + +
klopi
+
+
+
+ + Sozdm + + dative + plural + + + + + 11111 + +
klopem
+
+
+
+
+ +
+
diff --git a/resources/schema/inventory.xsd b/resources/schema/inventory.xsd index b63ac78..945cd31 100644 --- a/resources/schema/inventory.xsd +++ b/resources/schema/inventory.xsd @@ -48,6 +48,13 @@ + + + + + + + @@ -490,4 +497,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/schema/morphological_lexicon.xsd b/resources/schema/morphological_lexicon.xsd new file mode 100644 index 0000000..4746d6e --- /dev/null +++ b/resources/schema/morphological_lexicon.xsd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +