@fpw/en-wiktionary-la-modules 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -947,7 +947,7 @@ export const m_adj_decl = new Map([
|
|
|
947
947
|
data.notes.set("dat_sg_f1", note1);
|
|
948
948
|
setNominalForm(data.forms, "dat_sg_n", ["eī", "e͡i", "ēī"]);
|
|
949
949
|
data.notes.set("dat_sg_n1", note1);
|
|
950
|
-
setNominalForm(data.forms, "dat_pl_m", ["iīs", "eīs", "īs"]);
|
|
950
|
+
setNominalForm(data.forms, "dat_pl_m", ["iīs", "eīs", "īs", "ībus"]);
|
|
951
951
|
data.notes.set("dat_pl_m1", note2);
|
|
952
952
|
setNominalForm(data.forms, "dat_pl_f", ["iīs", "eīs", "īs", "eābus"]);
|
|
953
953
|
data.notes.set("dat_pl_f1", note2);
|
|
@@ -753,8 +753,8 @@ export class LaNominal {
|
|
|
753
753
|
["is", "3-2+", []],
|
|
754
754
|
["e", "3-2+", [NominalType.I]],
|
|
755
755
|
["e", "3-2+", []],
|
|
756
|
-
["^(.*[
|
|
757
|
-
["^(.*[
|
|
756
|
+
["^(.*[iïj])or$", "3-C+", [NominalType.AblEI, NominalType.NoAblIE]],
|
|
757
|
+
["^(.*[iïj])or$", "3-C+", []],
|
|
758
758
|
["^(min)or$", "3-C+", [NominalType.AblEI, NominalType.NoAblIE]],
|
|
759
759
|
["^(min)or$", "3-C+", []],
|
|
760
760
|
["^(.*trīx)$", "3-def+", [NominalType.Trix, NominalType.AblIE, NominalType.NoAblEI]],
|
|
@@ -765,7 +765,7 @@ export class LaNominal {
|
|
|
765
765
|
["^(.*ēs)$", "3-1+", [NominalType.I]],
|
|
766
766
|
["^(.*ēs)$", "3-1+", [NominalType.Par, NominalType.AblIE, NominalType.NoAblEI]],
|
|
767
767
|
["^(.*ēs)$", "3-1+", [NominalType.Par]],
|
|
768
|
-
["^(.*[
|
|
768
|
+
["^(.*[iïj])ōrēs$", "3-C+", [NominalType.Plural]],
|
|
769
769
|
["^(min)ōrēs$", "3-C+", [NominalType.Plural]],
|
|
770
770
|
["ēs", "3-2+", [NominalType.Plural, NominalType.I], base_as_stem2],
|
|
771
771
|
["ēs", "3-1+", [NominalType.Plural, NominalType.Par], base_as_stem2],
|
|
@@ -987,14 +987,14 @@ export class LaNominal {
|
|
|
987
987
|
["os", [NominalType.Masculine, NominalType.Greek]],
|
|
988
988
|
["os", [NominalType.Neuter, NominalType.Greek, NominalType.Us]],
|
|
989
989
|
["on", [NominalType.Neuter, NominalType.Greek]],
|
|
990
|
-
["^([A-ZĀĒĪŌŪȲĂĔĬŎŬÆŒ].*)
|
|
991
|
-
[
|
|
992
|
-
[
|
|
993
|
-
[
|
|
994
|
-
[
|
|
990
|
+
["^([A-ZĀĒĪŌŪȲĂĔĬŎŬÆŒ].*)[iï]us$", [NominalType.Masculine, NominalType.Ius, NominalType.VocI, NominalType.Singular]],
|
|
991
|
+
["[iï]us", [NominalType.Masculine, NominalType.Ius]],
|
|
992
|
+
["[iï]um", [NominalType.Neuter, NominalType.Ium]],
|
|
993
|
+
["us", [NominalType.Masculine]],
|
|
994
|
+
["us", [NominalType.Neuter, NominalType.Us]],
|
|
995
995
|
["um", [NominalType.Neuter]],
|
|
996
|
-
["
|
|
997
|
-
["
|
|
996
|
+
["[iï]ī", [NominalType.Masculine, NominalType.Ius, NominalType.Plural]],
|
|
997
|
+
["[iï]a", [NominalType.Neuter, NominalType.Ium, NominalType.Plural]],
|
|
998
998
|
["ī", [NominalType.Masculine, NominalType.Plural]],
|
|
999
999
|
["ī", [NominalType.Neuter, NominalType.Us, NominalType.Plural]],
|
|
1000
1000
|
["oe", [NominalType.Masculine, NominalType.Greek, NominalType.Plural]],
|
|
@@ -1021,7 +1021,7 @@ export class LaNominal {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
throw Error(`Unrecognized ending for declension-3 plural Greek noun: ${lemma}`);
|
|
1023
1023
|
}
|
|
1024
|
-
match = lemma.match(/^(.*)
|
|
1024
|
+
match = lemma.match(/^(.*)[iï]a$/);
|
|
1025
1025
|
if (match) {
|
|
1026
1026
|
return [match[1], stem2 || match[1], [NominalType.Neuter, NominalType.I, NominalType.Pure]];
|
|
1027
1027
|
}
|
|
@@ -1075,8 +1075,8 @@ export class LaNominal {
|
|
|
1075
1075
|
[["us", "er"], [NominalType.Neuter]],
|
|
1076
1076
|
[["ma", "mat"], [NominalType.Neuter]],
|
|
1077
1077
|
[["men", "min"], [NominalType.Neuter]],
|
|
1078
|
-
[["^([A-ZĀĒĪŌŪȲĂĔĬŎŬ].*)
|
|
1079
|
-
[["
|
|
1078
|
+
[["^([A-ZĀĒĪŌŪȲĂĔĬŎŬ].*)[eë]$", ""], [NominalType.Neuter, NominalType.Singular]],
|
|
1079
|
+
[["[eë]", ""], [NominalType.Neuter, NominalType.I, NominalType.Pure]],
|
|
1080
1080
|
[["al", "āl"], [NominalType.Neuter, NominalType.I, NominalType.Pure]],
|
|
1081
1081
|
[["ar", "ār"], [NominalType.Neuter, NominalType.I, NominalType.Pure]],
|
|
1082
1082
|
]);
|
|
@@ -1103,13 +1103,13 @@ export class LaNominal {
|
|
|
1103
1103
|
["us", [NominalType.Masculine]],
|
|
1104
1104
|
["ū\u0306?", [NominalType.Neuter]],
|
|
1105
1105
|
["ūs", [NominalType.Masculine, NominalType.Plural]],
|
|
1106
|
-
["
|
|
1106
|
+
["[uü]a", [NominalType.Neuter, NominalType.Plural]],
|
|
1107
1107
|
]);
|
|
1108
1108
|
}
|
|
1109
1109
|
else if (typ == "5") {
|
|
1110
1110
|
return this.get_noun_subtype_by_ending(lemma, stem2, typ, subtypes, [
|
|
1111
|
-
["
|
|
1112
|
-
["
|
|
1111
|
+
["[iï]ēs", [NominalType.Feminine, NominalType.i]],
|
|
1112
|
+
["[iï]ēs", [NominalType.Feminine, NominalType.i, NominalType.Plural]],
|
|
1113
1113
|
["ēs", [NominalType.Feminine]],
|
|
1114
1114
|
["ēs", [NominalType.Feminine, NominalType.Plural]],
|
|
1115
1115
|
]);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fpw/en-wiktionary-la-modules",
|
|
3
3
|
"author": "Folke Will",
|
|
4
4
|
"license": "CC-BY-SA-3.0",
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"description": "Reimplementation of some Latin modules of en.wikipedia.org, especially inflections",
|
|
8
8
|
"repository": {
|