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>
@@ -831,9 +831,9 @@ var inflectorRules = [
831
831
  }
832
832
  },
833
833
  {
834
- description: "друга відміна / чоловічий рід / м'яка група / стрілець",
834
+ description: "друга відміна / чоловічий рід / м'яка група / на -(голосна)вень",
835
835
  examples: [
836
- "стрілець"
836
+ "півень"
837
837
  ],
838
838
  partOfSpeech: "noun",
839
839
  gender: [
@@ -843,7 +843,7 @@ var inflectorRules = [
843
843
  usage: [
844
844
  ],
845
845
  pattern: {
846
- find: "стрілець$",
846
+ find: "(а|е|є|и|і|ї|о|у|ю|я)вень$",
847
847
  modify: "(.{1})(.{1})(.{1})$"
848
848
  },
849
849
  grammaticalCases: {
@@ -853,7 +853,7 @@ var inflectorRules = [
853
853
  {
854
854
  "0": {
855
855
  type: "replace",
856
- value: "ь"
856
+ value: ""
857
857
  },
858
858
  "2": {
859
859
  type: "replace",
@@ -865,7 +865,7 @@ var inflectorRules = [
865
865
  {
866
866
  "0": {
867
867
  type: "replace",
868
- value: "ь"
868
+ value: ""
869
869
  },
870
870
  "2": {
871
871
  type: "replace",
@@ -875,7 +875,7 @@ var inflectorRules = [
875
875
  {
876
876
  "0": {
877
877
  type: "replace",
878
- value: "ь"
878
+ value: ""
879
879
  },
880
880
  "2": {
881
881
  type: "replace",
@@ -887,7 +887,7 @@ var inflectorRules = [
887
887
  {
888
888
  "0": {
889
889
  type: "replace",
890
- value: "ь"
890
+ value: ""
891
891
  },
892
892
  "2": {
893
893
  type: "replace",
@@ -899,7 +899,7 @@ var inflectorRules = [
899
899
  {
900
900
  "0": {
901
901
  type: "replace",
902
- value: "ь"
902
+ value: ""
903
903
  },
904
904
  "2": {
905
905
  type: "replace",
@@ -911,21 +911,21 @@ var inflectorRules = [
911
911
  {
912
912
  "0": {
913
913
  type: "replace",
914
- value: "ь"
914
+ value: ""
915
915
  },
916
916
  "2": {
917
917
  type: "replace",
918
- value: "ю"
918
+ value: "еві"
919
919
  }
920
920
  },
921
921
  {
922
922
  "0": {
923
923
  type: "replace",
924
- value: "ь"
924
+ value: ""
925
925
  },
926
926
  "2": {
927
927
  type: "replace",
928
- value: "еві"
928
+ value: "ю"
929
929
  }
930
930
  }
931
931
  ],
@@ -933,7 +933,7 @@ var inflectorRules = [
933
933
  {
934
934
  "0": {
935
935
  type: "replace",
936
- value: "ь"
936
+ value: ""
937
937
  },
938
938
  "2": {
939
939
  type: "replace",
@@ -944,9 +944,10 @@ var inflectorRules = [
944
944
  }
945
945
  },
946
946
  {
947
- description: "друга відміна / чоловічий рід / м'яка група / на -(голосна)вень",
947
+ description: "друга відміна / чоловічий рід / м'яка група / на -(голосна)лець",
948
948
  examples: [
949
- "півень"
949
+ "стрілець",
950
+ "білець"
950
951
  ],
951
952
  partOfSpeech: "noun",
952
953
  gender: [
@@ -956,7 +957,7 @@ var inflectorRules = [
956
957
  usage: [
957
958
  ],
958
959
  pattern: {
959
- find: "(а|е|є|и|і|ї|о|у|ю|я)вень$",
960
+ find: "(а|е|є|и|і|ї|о|у|ю|я)лець$",
960
961
  modify: "(.{1})(.{1})(.{1})$"
961
962
  },
962
963
  grammaticalCases: {
@@ -966,7 +967,7 @@ var inflectorRules = [
966
967
  {
967
968
  "0": {
968
969
  type: "replace",
969
- value: ""
970
+ value: "ь"
970
971
  },
971
972
  "2": {
972
973
  type: "replace",
@@ -978,7 +979,7 @@ var inflectorRules = [
978
979
  {
979
980
  "0": {
980
981
  type: "replace",
981
- value: ""
982
+ value: "ь"
982
983
  },
983
984
  "2": {
984
985
  type: "replace",
@@ -988,7 +989,7 @@ var inflectorRules = [
988
989
  {
989
990
  "0": {
990
991
  type: "replace",
991
- value: ""
992
+ value: "ь"
992
993
  },
993
994
  "2": {
994
995
  type: "replace",
@@ -1000,7 +1001,7 @@ var inflectorRules = [
1000
1001
  {
1001
1002
  "0": {
1002
1003
  type: "replace",
1003
- value: ""
1004
+ value: "ь"
1004
1005
  },
1005
1006
  "2": {
1006
1007
  type: "replace",
@@ -1012,7 +1013,7 @@ var inflectorRules = [
1012
1013
  {
1013
1014
  "0": {
1014
1015
  type: "replace",
1015
- value: ""
1016
+ value: "ь"
1016
1017
  },
1017
1018
  "2": {
1018
1019
  type: "replace",
@@ -1024,21 +1025,21 @@ var inflectorRules = [
1024
1025
  {
1025
1026
  "0": {
1026
1027
  type: "replace",
1027
- value: ""
1028
+ value: "ь"
1028
1029
  },
1029
1030
  "2": {
1030
1031
  type: "replace",
1031
- value: "еві"
1032
+ value: "ю"
1032
1033
  }
1033
1034
  },
1034
1035
  {
1035
1036
  "0": {
1036
1037
  type: "replace",
1037
- value: ""
1038
+ value: "ь"
1038
1039
  },
1039
1040
  "2": {
1040
1041
  type: "replace",
1041
- value: "ю"
1042
+ value: "еві"
1042
1043
  }
1043
1044
  }
1044
1045
  ],
@@ -1046,7 +1047,7 @@ var inflectorRules = [
1046
1047
  {
1047
1048
  "0": {
1048
1049
  type: "replace",
1049
- value: ""
1050
+ value: "ь"
1050
1051
  },
1051
1052
  "2": {
1052
1053
  type: "replace",