shevchenko 2.1.2 → 2.1.3

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @file JavaScript library for declension of Ukrainian anthroponyms
3
3
  * @module shevchenko
4
- * @version 2.1.1
4
+ * @version 2.1.2
5
5
  * @author Oleksandr Tolochko <tooleks@gmail.com>
6
6
  * @license MIT
7
7
  * @copyright 2023 Oleksandr Tolochko <tooleks@gmail.com>
@@ -910,9 +910,9 @@ var inflectorRules = [
910
910
  }
911
911
  },
912
912
  {
913
- description: "друга відміна / чоловічий рід / м'яка група / стрілець",
913
+ description: "друга відміна / чоловічий рід / м'яка група / на -(голосна)вень",
914
914
  examples: [
915
- "стрілець"
915
+ "півень"
916
916
  ],
917
917
  partOfSpeech: "noun",
918
918
  gender: [
@@ -922,7 +922,7 @@ var inflectorRules = [
922
922
  usage: [
923
923
  ],
924
924
  pattern: {
925
- find: "стрілець$",
925
+ find: "(а|е|є|и|і|ї|о|у|ю|я)вень$",
926
926
  modify: "(.{1})(.{1})(.{1})$"
927
927
  },
928
928
  grammaticalCases: {
@@ -932,7 +932,7 @@ var inflectorRules = [
932
932
  {
933
933
  "0": {
934
934
  type: "replace",
935
- value: "ь"
935
+ value: ""
936
936
  },
937
937
  "2": {
938
938
  type: "replace",
@@ -944,7 +944,7 @@ var inflectorRules = [
944
944
  {
945
945
  "0": {
946
946
  type: "replace",
947
- value: "ь"
947
+ value: ""
948
948
  },
949
949
  "2": {
950
950
  type: "replace",
@@ -954,7 +954,7 @@ var inflectorRules = [
954
954
  {
955
955
  "0": {
956
956
  type: "replace",
957
- value: "ь"
957
+ value: ""
958
958
  },
959
959
  "2": {
960
960
  type: "replace",
@@ -966,7 +966,7 @@ var inflectorRules = [
966
966
  {
967
967
  "0": {
968
968
  type: "replace",
969
- value: "ь"
969
+ value: ""
970
970
  },
971
971
  "2": {
972
972
  type: "replace",
@@ -978,7 +978,7 @@ var inflectorRules = [
978
978
  {
979
979
  "0": {
980
980
  type: "replace",
981
- value: "ь"
981
+ value: ""
982
982
  },
983
983
  "2": {
984
984
  type: "replace",
@@ -990,21 +990,21 @@ var inflectorRules = [
990
990
  {
991
991
  "0": {
992
992
  type: "replace",
993
- value: "ь"
993
+ value: ""
994
994
  },
995
995
  "2": {
996
996
  type: "replace",
997
- value: "ю"
997
+ value: "еві"
998
998
  }
999
999
  },
1000
1000
  {
1001
1001
  "0": {
1002
1002
  type: "replace",
1003
- value: "ь"
1003
+ value: ""
1004
1004
  },
1005
1005
  "2": {
1006
1006
  type: "replace",
1007
- value: "еві"
1007
+ value: "ю"
1008
1008
  }
1009
1009
  }
1010
1010
  ],
@@ -1012,7 +1012,7 @@ var inflectorRules = [
1012
1012
  {
1013
1013
  "0": {
1014
1014
  type: "replace",
1015
- value: "ь"
1015
+ value: ""
1016
1016
  },
1017
1017
  "2": {
1018
1018
  type: "replace",
@@ -1023,9 +1023,10 @@ var inflectorRules = [
1023
1023
  }
1024
1024
  },
1025
1025
  {
1026
- description: "друга відміна / чоловічий рід / м'яка група / на -(голосна)вень",
1026
+ description: "друга відміна / чоловічий рід / м'яка група / на -(голосна)лець",
1027
1027
  examples: [
1028
- "півень"
1028
+ "стрілець",
1029
+ "білець"
1029
1030
  ],
1030
1031
  partOfSpeech: "noun",
1031
1032
  gender: [
@@ -1035,7 +1036,7 @@ var inflectorRules = [
1035
1036
  usage: [
1036
1037
  ],
1037
1038
  pattern: {
1038
- find: "(а|е|є|и|і|ї|о|у|ю|я)вень$",
1039
+ find: "(а|е|є|и|і|ї|о|у|ю|я)лець$",
1039
1040
  modify: "(.{1})(.{1})(.{1})$"
1040
1041
  },
1041
1042
  grammaticalCases: {
@@ -1045,7 +1046,7 @@ var inflectorRules = [
1045
1046
  {
1046
1047
  "0": {
1047
1048
  type: "replace",
1048
- value: ""
1049
+ value: "ь"
1049
1050
  },
1050
1051
  "2": {
1051
1052
  type: "replace",
@@ -1057,7 +1058,7 @@ var inflectorRules = [
1057
1058
  {
1058
1059
  "0": {
1059
1060
  type: "replace",
1060
- value: ""
1061
+ value: "ь"
1061
1062
  },
1062
1063
  "2": {
1063
1064
  type: "replace",
@@ -1067,7 +1068,7 @@ var inflectorRules = [
1067
1068
  {
1068
1069
  "0": {
1069
1070
  type: "replace",
1070
- value: ""
1071
+ value: "ь"
1071
1072
  },
1072
1073
  "2": {
1073
1074
  type: "replace",
@@ -1079,7 +1080,7 @@ var inflectorRules = [
1079
1080
  {
1080
1081
  "0": {
1081
1082
  type: "replace",
1082
- value: ""
1083
+ value: "ь"
1083
1084
  },
1084
1085
  "2": {
1085
1086
  type: "replace",
@@ -1091,7 +1092,7 @@ var inflectorRules = [
1091
1092
  {
1092
1093
  "0": {
1093
1094
  type: "replace",
1094
- value: ""
1095
+ value: "ь"
1095
1096
  },
1096
1097
  "2": {
1097
1098
  type: "replace",
@@ -1103,21 +1104,21 @@ var inflectorRules = [
1103
1104
  {
1104
1105
  "0": {
1105
1106
  type: "replace",
1106
- value: ""
1107
+ value: "ь"
1107
1108
  },
1108
1109
  "2": {
1109
1110
  type: "replace",
1110
- value: "еві"
1111
+ value: "ю"
1111
1112
  }
1112
1113
  },
1113
1114
  {
1114
1115
  "0": {
1115
1116
  type: "replace",
1116
- value: ""
1117
+ value: "ь"
1117
1118
  },
1118
1119
  "2": {
1119
1120
  type: "replace",
1120
- value: "ю"
1121
+ value: "еві"
1121
1122
  }
1122
1123
  }
1123
1124
  ],
@@ -1125,7 +1126,7 @@ var inflectorRules = [
1125
1126
  {
1126
1127
  "0": {
1127
1128
  type: "replace",
1128
- value: ""
1129
+ value: "ь"
1129
1130
  },
1130
1131
  "2": {
1131
1132
  type: "replace",