shevchenko 3.0.0-rc.3 → 3.0.1
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.
- package/README.md +94 -14
- package/dist/cjs/anthroponym-declension/anthroponym-inflector.js +1 -1
- package/dist/cjs/anthroponym-declension/bootstrap.js +1 -1
- package/dist/cjs/anthroponym-declension/family-name-classifier/artifacts/model.bundle.json.js +1 -1
- package/dist/cjs/anthroponym-declension/family-name-classifier/cache/incorrect-predictions.json.js +3 -2
- package/dist/cjs/anthroponym-declension/family-name-classifier/cache/incorrect-predictions.json.js.map +1 -1
- package/dist/cjs/anthroponym-declension/family-name-classifier/family-name-class-transformer.js +1 -1
- package/dist/cjs/anthroponym-declension/family-name-classifier/family-name-classifer.js +1 -1
- package/dist/cjs/anthroponym-declension/family-name-classifier/model-bundle-loader.js +1 -1
- package/dist/cjs/anthroponym-declension/family-name-classifier/model-config.js +1 -1
- package/dist/cjs/anthroponym-declension/family-name-classifier/word-transformer.js +1 -1
- package/dist/cjs/anthroponym-declension/family-name-inflector.js +1 -1
- package/dist/cjs/anthroponym-declension/given-name-inflector.js +1 -1
- package/dist/cjs/anthroponym-declension/name-inflector.js +1 -1
- package/dist/cjs/anthroponym-declension/patronymic-name-inflector.js +1 -1
- package/dist/cjs/gender-detection/detect-gender.js +1 -1
- package/dist/cjs/gender-detection/given-names-genders.json.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/input-validation.js +1 -1
- package/dist/cjs/language/alphabet.js +1 -1
- package/dist/cjs/language/grammatical-case.js +1 -1
- package/dist/cjs/language/grammatical-gender.js +1 -1
- package/dist/cjs/language/letter-case.js +1 -1
- package/dist/cjs/language/linguistics.js +1 -1
- package/dist/cjs/language/word-class.js +1 -1
- package/dist/cjs/shevchenko.js +1 -1
- package/dist/cjs/word-declension/append-command-runner.js +1 -1
- package/dist/cjs/word-declension/bootstrap.js +1 -1
- package/dist/cjs/word-declension/command-runner-factory.js +1 -1
- package/dist/cjs/word-declension/declension-rule-inflector.js +1 -1
- package/dist/cjs/word-declension/declension-rules.json.js +1 -1
- package/dist/cjs/word-declension/declension-types.js +1 -1
- package/dist/cjs/word-declension/replace-command-runner.js +1 -1
- package/dist/cjs/word-declension/word-inflector.js +1 -1
- package/dist/es/anthroponym-declension/anthroponym-inflector.js +1 -1
- package/dist/es/anthroponym-declension/bootstrap.js +1 -1
- package/dist/es/anthroponym-declension/family-name-classifier/artifacts/model.bundle.json.js +1 -1
- package/dist/es/anthroponym-declension/family-name-classifier/cache/incorrect-predictions.json.js +3 -2
- package/dist/es/anthroponym-declension/family-name-classifier/cache/incorrect-predictions.json.js.map +1 -1
- package/dist/es/anthroponym-declension/family-name-classifier/family-name-class-transformer.js +1 -1
- package/dist/es/anthroponym-declension/family-name-classifier/family-name-classifer.js +1 -1
- package/dist/es/anthroponym-declension/family-name-classifier/model-bundle-loader.js +1 -1
- package/dist/es/anthroponym-declension/family-name-classifier/model-config.js +1 -1
- package/dist/es/anthroponym-declension/family-name-classifier/word-transformer.js +1 -1
- package/dist/es/anthroponym-declension/family-name-inflector.js +1 -1
- package/dist/es/anthroponym-declension/given-name-inflector.js +1 -1
- package/dist/es/anthroponym-declension/name-inflector.js +1 -1
- package/dist/es/anthroponym-declension/patronymic-name-inflector.js +1 -1
- package/dist/es/gender-detection/detect-gender.js +1 -1
- package/dist/es/gender-detection/given-names-genders.json.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/input-validation.js +1 -1
- package/dist/es/language/alphabet.js +1 -1
- package/dist/es/language/grammatical-case.js +1 -1
- package/dist/es/language/grammatical-gender.js +1 -1
- package/dist/es/language/letter-case.js +1 -1
- package/dist/es/language/linguistics.js +1 -1
- package/dist/es/language/word-class.js +1 -1
- package/dist/es/shevchenko.js +1 -1
- package/dist/es/word-declension/append-command-runner.js +1 -1
- package/dist/es/word-declension/bootstrap.js +1 -1
- package/dist/es/word-declension/command-runner-factory.js +1 -1
- package/dist/es/word-declension/declension-rule-inflector.js +1 -1
- package/dist/es/word-declension/declension-rules.json.js +1 -1
- package/dist/es/word-declension/declension-types.js +1 -1
- package/dist/es/word-declension/replace-command-runner.js +1 -1
- package/dist/es/word-declension/word-inflector.js +1 -1
- package/dist/umd/shevchenko.min.js +2 -2
- package/dist/umd/shevchenko.min.js.map +1 -1
- package/package.json +6 -3
- package/src/anthroponym-declension/family-name-classifier/cache/incorrect-predictions.json +2 -1
package/README.md
CHANGED
|
@@ -1,29 +1,109 @@
|
|
|
1
1
|
# shevchenko
|
|
2
2
|
|
|
3
|
-
JavaScript
|
|
3
|
+
JavaScript library for declension of Ukrainian anthroponyms
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Links
|
|
6
6
|
|
|
7
|
-
[
|
|
7
|
+
* [Try it out](https://shevchenko-js.tooleks.com/en-US) / [Демонстрація](https://shevchenko-js.tooleks.com)
|
|
8
|
+
* [API Specification](https://shevchenko-js.tooleks.com/api-spec)
|
|
9
|
+
* [Source Code](https://github.com/tooleks/shevchenko-js)
|
|
10
|
+
* [License](https://github.com/tooleks/shevchenko-js/blob/main/LICENSE)
|
|
11
|
+
* [Migration Guide (v2 → v3)](../../wiki/Migration-Guide)
|
|
8
12
|
|
|
9
|
-
##
|
|
13
|
+
## User Guide
|
|
14
|
+
|
|
15
|
+
### Installation
|
|
16
|
+
|
|
17
|
+
#### npm
|
|
18
|
+
|
|
19
|
+
To install the library using [npm](https://docs.npmjs.com) package manager, use the following command:
|
|
10
20
|
|
|
11
21
|
```bash
|
|
12
22
|
npm install --save shevchenko
|
|
13
23
|
```
|
|
14
24
|
|
|
15
|
-
|
|
25
|
+
### Import
|
|
26
|
+
|
|
27
|
+
The library comes in three formats: CommonJS module, ECMAScript module, and a minified UMD bundle. You can select the format that best suits your needs.
|
|
28
|
+
|
|
29
|
+
#### CommonJS
|
|
30
|
+
|
|
31
|
+
To import the library as a CommonJS module, use the following code:
|
|
32
|
+
|
|
33
|
+
```JavaScript
|
|
34
|
+
const shevchenko = require('shevchenko');
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
#### ECMAScript
|
|
38
|
+
|
|
39
|
+
To import the library as an ECMAScript module, use the following code:
|
|
40
|
+
|
|
41
|
+
```JavaScript
|
|
42
|
+
import * as shevchenko from 'shevchenko';
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
#### UMD
|
|
46
|
+
|
|
47
|
+
To import the library as a UMD bundle, include the following script tag in your HTML code:
|
|
48
|
+
|
|
49
|
+
```HTML
|
|
50
|
+
<script type="text/javascript" src="https://unpkg.com/shevchenko"></script>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Use Cases
|
|
54
|
+
|
|
55
|
+
#### Personal names declension
|
|
56
|
+
|
|
57
|
+
This example shows how to use the library to decline Ukrainian anthroponyms. The example code takes an input object that includes grammatical gender, given name, patronymic name, and family name of a person. Then, it passes the input object to the `shevchenko.inVocative()` method, which returns the declined version of the input anthroponym in vocative case. Finally, it logs the output object to the console.
|
|
58
|
+
|
|
59
|
+
```JavaScript
|
|
60
|
+
const shevchenko = require('shevchenko');
|
|
61
|
+
|
|
62
|
+
async function main() {
|
|
63
|
+
const input = {
|
|
64
|
+
gender: 'masculine',
|
|
65
|
+
givenName: 'Тарас',
|
|
66
|
+
patronymicName: 'Григорович',
|
|
67
|
+
familyName: 'Шевченко'
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
const output = await shevchenko.inVocative(input);
|
|
71
|
+
|
|
72
|
+
console.log(output); // { givenName: "Тарасе", patronymicName: "Григоровичу", familyName: "Шевченку" }
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
main().catch((error) => console.error(error));
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
#### Automatic grammatical gender detection
|
|
79
|
+
|
|
80
|
+
This example shows how to use the library to automatically detect the grammatical gender of a Ukrainian anthroponym. The example code takes an input object that includes given name, patronymic name, and family name of a person. Then, it passes the input object to the `shevchenko.detectGender()` method, which returns the detected gender of the input anthroponym. If the method fails to detect the grammatical gender, it throws an error. Finally, it logs the declined version of the input object in vocative case to the console.
|
|
16
81
|
|
|
17
82
|
```JavaScript
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
83
|
+
const shevchenko = require('shevchenko');
|
|
84
|
+
|
|
85
|
+
async function main() {
|
|
86
|
+
const anthroponym = {
|
|
87
|
+
givenName: 'Лариса',
|
|
88
|
+
patronymicName: 'Петрівна',
|
|
89
|
+
familyName: 'Косач-Квітка'
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
const gender = await shevchenko.detectGender(anthroponym); // "feminine"
|
|
93
|
+
if (gender == null) {
|
|
94
|
+
throw new Error('Failed to detect grammatical gender.');
|
|
95
|
+
}
|
|
24
96
|
|
|
25
|
-
|
|
26
|
-
const output = await shevchenko.inVocative(input);
|
|
97
|
+
const input = { ...anthroponym, gender };
|
|
27
98
|
|
|
28
|
-
|
|
99
|
+
const output = await shevchenko.inVocative(input);
|
|
100
|
+
|
|
101
|
+
console.log(output); // { givenName: "Ларисо", patronymicName: "Петрівно", familyName: "Косач-Квітко" }
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
main().catch((error) => console.error(error));
|
|
29
105
|
```
|
|
106
|
+
|
|
107
|
+
#### Usage via HTTP
|
|
108
|
+
|
|
109
|
+
The library can be integrated into your project via HTTP API. Please refer to [https://github.com/tooleks/shevchenko-http](https://github.com/tooleks/shevchenko-http) repository for more examples.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
package/dist/cjs/anthroponym-declension/family-name-classifier/artifacts/model.bundle.json.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
package/dist/cjs/anthroponym-declension/family-name-classifier/cache/incorrect-predictions.json.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1173,7 +1173,8 @@ var incorrectPredictionsCache = {
|
|
|
1173
1173
|
"накутня": "adjective",
|
|
1174
1174
|
"плохая": "adjective",
|
|
1175
1175
|
"бухая": "adjective",
|
|
1176
|
-
"самотня": "adjective"
|
|
1176
|
+
"самотня": "adjective",
|
|
1177
|
+
"панібудьласка": "noun"
|
|
1177
1178
|
};
|
|
1178
1179
|
|
|
1179
1180
|
module.exports = incorrectPredictionsCache;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incorrect-predictions.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"incorrect-predictions.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/cjs/anthroponym-declension/family-name-classifier/family-name-class-transformer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
package/dist/cjs/shevchenko.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
package/dist/es/anthroponym-declension/family-name-classifier/artifacts/model.bundle.json.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
package/dist/es/anthroponym-declension/family-name-classifier/cache/incorrect-predictions.json.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1171,7 +1171,8 @@ var incorrectPredictionsCache = {
|
|
|
1171
1171
|
"накутня": "adjective",
|
|
1172
1172
|
"плохая": "adjective",
|
|
1173
1173
|
"бухая": "adjective",
|
|
1174
|
-
"самотня": "adjective"
|
|
1174
|
+
"самотня": "adjective",
|
|
1175
|
+
"панібудьласка": "noun"
|
|
1175
1176
|
};
|
|
1176
1177
|
|
|
1177
1178
|
export { incorrectPredictionsCache as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incorrect-predictions.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"incorrect-predictions.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/es/anthroponym-declension/family-name-classifier/family-name-class-transformer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.1
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
* @copyright 2017-2023 Oleksandr Tolochko <tooleks@gmail.com>
|