shevchenko 2.0.5 → 2.1.0

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.
Files changed (135) hide show
  1. package/README.md +7 -7
  2. package/dist/cjs/shevchenko.js +18698 -18701
  3. package/dist/cjs/shevchenko.js.map +1 -1
  4. package/dist/es/shevchenko.js +18676 -18680
  5. package/dist/es/shevchenko.js.map +1 -1
  6. package/dist/types/anthroponym-inflection/anthroponym-inflector.d.ts +15 -0
  7. package/dist/types/anthroponym-inflection/anthroponym-inflector.d.ts.map +1 -0
  8. package/dist/types/anthroponym-inflection/append-command-runner.d.ts +12 -0
  9. package/dist/types/anthroponym-inflection/append-command-runner.d.ts.map +1 -0
  10. package/dist/types/anthroponym-inflection/command-runner-factory.d.ts +9 -0
  11. package/dist/types/anthroponym-inflection/command-runner-factory.d.ts.map +1 -0
  12. package/dist/types/anthroponym-inflection/first-name-inflector.d.ts +12 -0
  13. package/dist/types/anthroponym-inflection/first-name-inflector.d.ts.map +1 -0
  14. package/dist/types/anthroponym-inflection/index.d.ts +6 -0
  15. package/dist/types/anthroponym-inflection/index.d.ts.map +1 -0
  16. package/dist/types/anthroponym-inflection/inflector-command-runner.d.ts +4 -0
  17. package/dist/types/anthroponym-inflection/inflector-command-runner.d.ts.map +1 -0
  18. package/dist/types/anthroponym-inflection/inflector.types.d.ts +37 -0
  19. package/dist/types/anthroponym-inflection/inflector.types.d.ts.map +1 -0
  20. package/dist/types/anthroponym-inflection/last-name-inflector.d.ts +14 -0
  21. package/dist/types/anthroponym-inflection/last-name-inflector.d.ts.map +1 -0
  22. package/dist/types/anthroponym-inflection/middle-name-inflector.d.ts +12 -0
  23. package/dist/types/anthroponym-inflection/middle-name-inflector.d.ts.map +1 -0
  24. package/dist/types/anthroponym-inflection/name-inflector.d.ts +12 -0
  25. package/dist/types/anthroponym-inflection/name-inflector.d.ts.map +1 -0
  26. package/dist/types/anthroponym-inflection/replace-command-runner.d.ts +12 -0
  27. package/dist/types/anthroponym-inflection/replace-command-runner.d.ts.map +1 -0
  28. package/dist/types/anthroponym-inflection/rule-inflector.d.ts +12 -0
  29. package/dist/types/anthroponym-inflection/rule-inflector.d.ts.map +1 -0
  30. package/dist/types/bootstrap.d.ts +1 -1
  31. package/dist/types/bootstrap.d.ts.map +1 -1
  32. package/dist/types/core/anthroponym.interface.d.ts +8 -0
  33. package/dist/types/core/anthroponym.interface.d.ts.map +1 -0
  34. package/dist/types/core/gender.enum.d.ts +5 -0
  35. package/dist/types/core/gender.enum.d.ts.map +1 -0
  36. package/dist/types/{Core/GrammaticalCase.d.ts → core/grammatical-case.enum.d.ts} +2 -3
  37. package/dist/types/core/grammatical-case.enum.d.ts.map +1 -0
  38. package/dist/types/core/index.d.ts +5 -0
  39. package/dist/types/core/index.d.ts.map +1 -0
  40. package/dist/types/{Core/Validator.d.ts → core/validator.d.ts} +2 -2
  41. package/dist/types/core/validator.d.ts.map +1 -0
  42. package/dist/types/internal.d.ts +1 -2
  43. package/dist/types/internal.d.ts.map +1 -1
  44. package/dist/types/part-of-speech-recognition/index.d.ts +6 -0
  45. package/dist/types/part-of-speech-recognition/index.d.ts.map +1 -0
  46. package/dist/types/part-of-speech-recognition/neural-network-config.d.ts +6 -0
  47. package/dist/types/part-of-speech-recognition/neural-network-config.d.ts.map +1 -0
  48. package/dist/types/part-of-speech-recognition/neural-network-training-data.d.ts +5 -0
  49. package/dist/types/part-of-speech-recognition/neural-network-training-data.d.ts.map +1 -0
  50. package/dist/types/{PartOfSpeechRecognizer/NeuralNetwork.d.ts → part-of-speech-recognition/neural-network.d.ts} +7 -7
  51. package/dist/types/part-of-speech-recognition/neural-network.d.ts.map +1 -0
  52. package/dist/types/part-of-speech-recognition/part-of-speech-decoder.d.ts +9 -0
  53. package/dist/types/part-of-speech-recognition/part-of-speech-decoder.d.ts.map +1 -0
  54. package/dist/types/{PartOfSpeechRecognizer/PartOfSpeechEncoder.d.ts → part-of-speech-recognition/part-of-speech-encoder.d.ts} +3 -3
  55. package/dist/types/part-of-speech-recognition/part-of-speech-encoder.d.ts.map +1 -0
  56. package/dist/types/part-of-speech-recognition/part-of-speech-recognition-rule.d.ts +19 -0
  57. package/dist/types/part-of-speech-recognition/part-of-speech-recognition-rule.d.ts.map +1 -0
  58. package/dist/types/part-of-speech-recognition/part-of-speech-recognizer.d.ts +14 -0
  59. package/dist/types/part-of-speech-recognition/part-of-speech-recognizer.d.ts.map +1 -0
  60. package/dist/types/part-of-speech-recognition/part-of-speech.enum.d.ts +5 -0
  61. package/dist/types/part-of-speech-recognition/part-of-speech.enum.d.ts.map +1 -0
  62. package/dist/types/{PartOfSpeechRecognizer/WordEncoder.d.ts → part-of-speech-recognition/word-encoder.d.ts} +2 -2
  63. package/dist/types/part-of-speech-recognition/word-encoder.d.ts.map +1 -0
  64. package/dist/types/part-of-speech-recognition/word-transformer.d.ts +7 -0
  65. package/dist/types/part-of-speech-recognition/word-transformer.d.ts.map +1 -0
  66. package/dist/types/shevchenko.d.ts +9 -8
  67. package/dist/types/shevchenko.d.ts.map +1 -1
  68. package/dist/types/{Utils/LangUtils.d.ts → utils/lang.utils.d.ts} +2 -2
  69. package/dist/types/utils/lang.utils.d.ts.map +1 -0
  70. package/dist/types/utils/regexp.utils.d.ts +5 -0
  71. package/dist/types/utils/regexp.utils.d.ts.map +1 -0
  72. package/dist/types/{Utils/StringUtils.d.ts → utils/string.utils.d.ts} +1 -1
  73. package/dist/types/utils/string.utils.d.ts.map +1 -0
  74. package/dist/umd/shevchenko.min.js +6 -6
  75. package/dist/umd/shevchenko.min.js.map +1 -1
  76. package/package.json +33 -25
  77. package/dist/types/AnthroponymInflector/AnthroponymInflector.d.ts +0 -16
  78. package/dist/types/AnthroponymInflector/AnthroponymInflector.d.ts.map +0 -1
  79. package/dist/types/AnthroponymInflector/AppendCommandRunner.d.ts +0 -12
  80. package/dist/types/AnthroponymInflector/AppendCommandRunner.d.ts.map +0 -1
  81. package/dist/types/AnthroponymInflector/CommandRunnerFactory.d.ts +0 -9
  82. package/dist/types/AnthroponymInflector/CommandRunnerFactory.d.ts.map +0 -1
  83. package/dist/types/AnthroponymInflector/FirstNameInflector.d.ts +0 -13
  84. package/dist/types/AnthroponymInflector/FirstNameInflector.d.ts.map +0 -1
  85. package/dist/types/AnthroponymInflector/GrammaticalCases.d.ts +0 -13
  86. package/dist/types/AnthroponymInflector/GrammaticalCases.d.ts.map +0 -1
  87. package/dist/types/AnthroponymInflector/InflectorCommand.d.ts +0 -7
  88. package/dist/types/AnthroponymInflector/InflectorCommand.d.ts.map +0 -1
  89. package/dist/types/AnthroponymInflector/InflectorCommandGroup.d.ts +0 -6
  90. package/dist/types/AnthroponymInflector/InflectorCommandGroup.d.ts.map +0 -1
  91. package/dist/types/AnthroponymInflector/InflectorCommandRunner.d.ts +0 -5
  92. package/dist/types/AnthroponymInflector/InflectorCommandRunner.d.ts.map +0 -1
  93. package/dist/types/AnthroponymInflector/InflectorCommandType.d.ts +0 -6
  94. package/dist/types/AnthroponymInflector/InflectorCommandType.d.ts.map +0 -1
  95. package/dist/types/AnthroponymInflector/InflectorPattern.d.ts +0 -6
  96. package/dist/types/AnthroponymInflector/InflectorPattern.d.ts.map +0 -1
  97. package/dist/types/AnthroponymInflector/InflectorRule.d.ts +0 -16
  98. package/dist/types/AnthroponymInflector/InflectorRule.d.ts.map +0 -1
  99. package/dist/types/AnthroponymInflector/LastNameInflector.d.ts +0 -15
  100. package/dist/types/AnthroponymInflector/LastNameInflector.d.ts.map +0 -1
  101. package/dist/types/AnthroponymInflector/MiddleNameInflector.d.ts +0 -13
  102. package/dist/types/AnthroponymInflector/MiddleNameInflector.d.ts.map +0 -1
  103. package/dist/types/AnthroponymInflector/NameInflector.d.ts +0 -13
  104. package/dist/types/AnthroponymInflector/NameInflector.d.ts.map +0 -1
  105. package/dist/types/AnthroponymInflector/ReplaceCommandRunner.d.ts +0 -12
  106. package/dist/types/AnthroponymInflector/ReplaceCommandRunner.d.ts.map +0 -1
  107. package/dist/types/AnthroponymInflector/RuleInflector.d.ts +0 -12
  108. package/dist/types/AnthroponymInflector/RuleInflector.d.ts.map +0 -1
  109. package/dist/types/Core/Anthroponym.d.ts +0 -9
  110. package/dist/types/Core/Anthroponym.d.ts.map +0 -1
  111. package/dist/types/Core/Gender.d.ts +0 -6
  112. package/dist/types/Core/Gender.d.ts.map +0 -1
  113. package/dist/types/Core/GrammaticalCase.d.ts.map +0 -1
  114. package/dist/types/Core/Validator.d.ts.map +0 -1
  115. package/dist/types/PartOfSpeechRecognizer/NeuralNetwork.d.ts.map +0 -1
  116. package/dist/types/PartOfSpeechRecognizer/NeuralNetworkParameters.d.ts +0 -7
  117. package/dist/types/PartOfSpeechRecognizer/NeuralNetworkParameters.d.ts.map +0 -1
  118. package/dist/types/PartOfSpeechRecognizer/NeuralNetworkTrainingData.d.ts +0 -6
  119. package/dist/types/PartOfSpeechRecognizer/NeuralNetworkTrainingData.d.ts.map +0 -1
  120. package/dist/types/PartOfSpeechRecognizer/PartOfSpeech.d.ts +0 -6
  121. package/dist/types/PartOfSpeechRecognizer/PartOfSpeech.d.ts.map +0 -1
  122. package/dist/types/PartOfSpeechRecognizer/PartOfSpeechDecoder.d.ts +0 -9
  123. package/dist/types/PartOfSpeechRecognizer/PartOfSpeechDecoder.d.ts.map +0 -1
  124. package/dist/types/PartOfSpeechRecognizer/PartOfSpeechEncoder.d.ts.map +0 -1
  125. package/dist/types/PartOfSpeechRecognizer/PartOfSpeechRecognizer.d.ts +0 -14
  126. package/dist/types/PartOfSpeechRecognizer/PartOfSpeechRecognizer.d.ts.map +0 -1
  127. package/dist/types/PartOfSpeechRecognizer/RecognizerRule.d.ts +0 -19
  128. package/dist/types/PartOfSpeechRecognizer/RecognizerRule.d.ts.map +0 -1
  129. package/dist/types/PartOfSpeechRecognizer/WordEncoder.d.ts.map +0 -1
  130. package/dist/types/PartOfSpeechRecognizer/WordTransformer.d.ts +0 -7
  131. package/dist/types/PartOfSpeechRecognizer/WordTransformer.d.ts.map +0 -1
  132. package/dist/types/Utils/LangUtils.d.ts.map +0 -1
  133. package/dist/types/Utils/RegExpUtils.d.ts +0 -5
  134. package/dist/types/Utils/RegExpUtils.d.ts.map +0 -1
  135. package/dist/types/Utils/StringUtils.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shevchenko",
3
- "version": "2.0.5",
4
- "description": "JavaScript library to inflect Ukrainian first, middle and last names",
3
+ "version": "2.1.0",
4
+ "description": "JavaScript library for declension of Ukrainian anthroponyms",
5
5
  "browser": "./dist/umd/shevchenko.min.js",
6
6
  "main": "./dist/cjs/shevchenko.js",
7
7
  "module": "./dist/es/shevchenko.js",
@@ -15,21 +15,27 @@
15
15
  "build:kosmii-cache": "gulp build:kosmii-cache",
16
16
  "build:pelykh-cache": "gulp build:pelykh-cache",
17
17
  "build:network-cache": "gulp build:network-cache",
18
- "build": "rimraf ./dist && rollup -c && tsc -p ./tsconfig.declaration.json",
18
+ "prebuild": "rimraf ./dist",
19
+ "build": "rollup -c && tsc -p ./tsconfig.declaration.json",
19
20
  "lint": "tslint --fix -p ./tsconfig.json -c ./tslint.json",
20
- "test": "mocha --bail ./tests/main.js"
21
+ "test": "mocha --bail ./tests/main.js",
22
+ "build:docs": "node ./docs/src/main.mjs"
21
23
  },
22
24
  "keywords": [
23
- "ukrainian language",
24
- "ukrainian names inflector",
25
- "ukrainian grammatical cases",
26
- "nominative case inflection",
27
- "genitive case inflection",
28
- "dative case inflection",
29
- "accusative case inflection",
30
- "ablative case inflection",
31
- "locative case inflection",
32
- "vocative case inflection"
25
+ "ukrainian",
26
+ "language",
27
+ "grammar",
28
+ "linguistics",
29
+ "inflection",
30
+ "declension",
31
+ "anthroponym",
32
+ "nominative",
33
+ "genitive",
34
+ "dative",
35
+ "accusative",
36
+ "ablative",
37
+ "locative",
38
+ "vocative"
33
39
  ],
34
40
  "repository": {
35
41
  "type": "git",
@@ -50,21 +56,23 @@
50
56
  "synaptic": "^1.1.4"
51
57
  },
52
58
  "devDependencies": {
53
- "@rollup/plugin-commonjs": "^11.1.0",
54
- "@rollup/plugin-json": "^4.0.3",
55
- "@rollup/plugin-node-resolve": "^7.1.3",
56
- "@rollup/plugin-typescript": "^4.1.1",
57
- "@types/lodash": "^4.14.150",
59
+ "@rollup/plugin-commonjs": "^16.0.0",
60
+ "@rollup/plugin-json": "^4.1.0",
61
+ "@rollup/plugin-node-resolve": "^10.0.0",
62
+ "@rollup/plugin-typescript": "^6.1.0",
63
+ "@types/lodash": "^4.14.165",
58
64
  "@types/synaptic": "^1.0.3",
59
- "axios": "^0.19.2",
65
+ "axios": "^0.21.0",
60
66
  "chai": "^4.2.0",
67
+ "ejs": "^3.1.5",
61
68
  "gulp": "^4.0.2",
62
- "mocha": "^3.5.3",
69
+ "i18n": "^0.13.2",
70
+ "mocha": "^8.2.1",
63
71
  "rimraf": "^3.0.2",
64
- "rollup": "^2.7.1",
65
- "rollup-plugin-terser": "^5.3.0",
66
- "tslint": "^6.1.1",
72
+ "rollup": "^2.34.2",
73
+ "rollup-plugin-terser": "^7.0.2",
74
+ "tslint": "^6.1.3",
67
75
  "tslint-config-airbnb": "^5.11.2",
68
- "typescript": "^3.8.3"
76
+ "typescript": "^4.1.2"
69
77
  }
70
78
  }
@@ -1,16 +0,0 @@
1
- import Anthroponym from '../Core/Anthroponym';
2
- import GrammaticalCase from '../Core/GrammaticalCase';
3
- import FirstNameInflector from './FirstNameInflector';
4
- import MiddleNameInflector from './MiddleNameInflector';
5
- import LastNameInflector from './LastNameInflector';
6
- export default class AnthroponymInflector {
7
- private readonly firstNameInflector;
8
- private readonly middleNameInflector;
9
- private readonly lastNameInflector;
10
- constructor(firstNameInflector: FirstNameInflector, middleNameInflector: MiddleNameInflector, lastNameInflector: LastNameInflector);
11
- /**
12
- * Inflects a given anthroponym in a given grammatical case.
13
- */
14
- inflect(anthroponym: Anthroponym, grammaticalCase: GrammaticalCase): Anthroponym;
15
- }
16
- //# sourceMappingURL=AnthroponymInflector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnthroponymInflector.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/AnthroponymInflector.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAC9C,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,oBAAoB;IACvC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAqB;IACxD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAsB;IAC1D,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAoB;gBAG1C,kBAAkB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB;IAMlI;;OAEG;IACH,OAAO,CAAC,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,GAAG,WAAW;CAiBjF"}
@@ -1,12 +0,0 @@
1
- import InflectorCommandRunner from './InflectorCommandRunner';
2
- import InflectorCommand from './InflectorCommand';
3
- export default class AppendCommandRunner implements InflectorCommandRunner {
4
- private readonly command;
5
- constructor(command: InflectorCommand);
6
- /**
7
- * Appends the command value to a given value.
8
- * Returns a new value.
9
- */
10
- exec(value: string): string;
11
- }
12
- //# sourceMappingURL=AppendCommandRunner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppendCommandRunner.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/AppendCommandRunner.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,MAAM,CAAC,OAAO,OAAO,mBAAoB,YAAW,sBAAsB;IACxE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;gBAE/B,OAAO,EAAE,gBAAgB;IAIrC;;;OAGG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;CAG5B"}
@@ -1,9 +0,0 @@
1
- import InflectorCommand from './InflectorCommand';
2
- import InflectorCommandRunner from './InflectorCommandRunner';
3
- export default class CommandRunnerFactory {
4
- /**
5
- * Creates a new command runner for a given command.
6
- */
7
- make(command: InflectorCommand): InflectorCommandRunner;
8
- }
9
- //# sourceMappingURL=CommandRunnerFactory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CommandRunnerFactory.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/CommandRunnerFactory.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAIlD,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAE9D,MAAM,CAAC,OAAO,OAAO,oBAAoB;IACvC;;OAEG;IACH,IAAI,CAAC,OAAO,EAAE,gBAAgB,GAAG,sBAAsB;CAaxD"}
@@ -1,13 +0,0 @@
1
- import InflectorRule from './InflectorRule';
2
- import Gender from '../Core/Gender';
3
- import GrammaticalCase from '../Core/GrammaticalCase';
4
- import NameInflector from './NameInflector';
5
- export default class FirstNameInflector extends NameInflector {
6
- private readonly rules;
7
- constructor(rules: InflectorRule[]);
8
- /**
9
- * @inheritdoc
10
- */
11
- protected inflectWord(word: string, gender: Gender, grammaticalCase: GrammaticalCase): string;
12
- }
13
- //# sourceMappingURL=FirstNameInflector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FirstNameInflector.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/FirstNameInflector.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,MAAM,MAAM,gBAAgB,CAAC;AACpC,OAAO,eAAe,MAAM,yBAAyB,CAAC;AAEtD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,aAAa;IAC3D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkB;gBAE5B,KAAK,EAAE,aAAa,EAAE;IAKlC;;OAEG;IACH,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,GAAG,MAAM;CAwB9F"}
@@ -1,13 +0,0 @@
1
- import GrammaticalCase from '../Core/GrammaticalCase';
2
- import InflectorCommandGroup from './InflectorCommandGroup';
3
- declare type GrammaticalCases = {
4
- [GrammaticalCase.Nominative]: InflectorCommandGroup[];
5
- [GrammaticalCase.Genitive]: InflectorCommandGroup[];
6
- [GrammaticalCase.Dative]: InflectorCommandGroup[];
7
- [GrammaticalCase.Accusative]: InflectorCommandGroup[];
8
- [GrammaticalCase.Ablative]: InflectorCommandGroup[];
9
- [GrammaticalCase.Locative]: InflectorCommandGroup[];
10
- [GrammaticalCase.Vocative]: InflectorCommandGroup[];
11
- };
12
- export default GrammaticalCases;
13
- //# sourceMappingURL=GrammaticalCases.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GrammaticalCases.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/GrammaticalCases.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAE5D,aAAK,gBAAgB,GAAG;IACtB,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACtD,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACpD,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAClD,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACtD,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACpD,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACpD,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAC;CACrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,7 +0,0 @@
1
- import InflectorCommandType from './InflectorCommandType';
2
- declare type InflectorCommand = {
3
- type: InflectorCommandType;
4
- value: string;
5
- };
6
- export default InflectorCommand;
7
- //# sourceMappingURL=InflectorCommand.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InflectorCommand.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/InflectorCommand.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAE1D,aAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,6 +0,0 @@
1
- import InflectorCommand from './InflectorCommand';
2
- declare type InflectorCommandGroup = {
3
- [groupIndex: string]: InflectorCommand;
4
- };
5
- export default InflectorCommandGroup;
6
- //# sourceMappingURL=InflectorCommandGroup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InflectorCommandGroup.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/InflectorCommandGroup.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,aAAK,qBAAqB,GAAG;IAC3B,CAAC,UAAU,EAAE,MAAM,GAAG,gBAAgB,CAAC;CACxC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,5 +0,0 @@
1
- interface InflectorCommandRunner {
2
- exec(value: string): string;
3
- }
4
- export default InflectorCommandRunner;
5
- //# sourceMappingURL=InflectorCommandRunner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InflectorCommandRunner.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/InflectorCommandRunner.ts"],"names":[],"mappings":"AAAA,UAAU,sBAAsB;IAC9B,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B;AAED,eAAe,sBAAsB,CAAC"}
@@ -1,6 +0,0 @@
1
- declare enum InflectorCommandType {
2
- Replace = "replace",
3
- Append = "append"
4
- }
5
- export default InflectorCommandType;
6
- //# sourceMappingURL=InflectorCommandType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InflectorCommandType.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/InflectorCommandType.ts"],"names":[],"mappings":"AAAA,aAAK,oBAAoB;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,eAAe,oBAAoB,CAAC"}
@@ -1,6 +0,0 @@
1
- declare type InflectionPattern = {
2
- find: string;
3
- modify: string;
4
- };
5
- export default InflectionPattern;
6
- //# sourceMappingURL=InflectorPattern.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InflectorPattern.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/InflectorPattern.ts"],"names":[],"mappings":"AAAA,aAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,16 +0,0 @@
1
- import Gender from '../Core/Gender';
2
- import PartOfSpeech from '../PartOfSpeechRecognizer/PartOfSpeech';
3
- import GrammaticalCases from './GrammaticalCases';
4
- import InflectorPattern from './InflectorPattern';
5
- declare type InflectorRule = {
6
- description: string;
7
- examples: string[];
8
- partOfSpeech: PartOfSpeech;
9
- gender: Gender[];
10
- priority: number;
11
- usage: string[];
12
- pattern: InflectorPattern;
13
- grammaticalCases: GrammaticalCases;
14
- };
15
- export default InflectorRule;
16
- //# sourceMappingURL=InflectorRule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InflectorRule.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/InflectorRule.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,gBAAgB,CAAC;AACpC,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAClE,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,aAAK,aAAa,GAAG;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,15 +0,0 @@
1
- import InflectorRule from './InflectorRule';
2
- import Gender from '../Core/Gender';
3
- import GrammaticalCase from '../Core/GrammaticalCase';
4
- import PartOfSpeechRecognizer from '../PartOfSpeechRecognizer/PartOfSpeechRecognizer';
5
- import NameInflector from './NameInflector';
6
- export default class LastNameInflector extends NameInflector {
7
- private readonly rules;
8
- private readonly partOfSpeechRecognizer;
9
- constructor(rules: InflectorRule[], partOfSpeechRecognizer: PartOfSpeechRecognizer);
10
- /**
11
- * @inheritdoc
12
- */
13
- protected inflectWord(word: string, gender: Gender, grammaticalCase: GrammaticalCase, isLastWord: boolean): string;
14
- }
15
- //# sourceMappingURL=LastNameInflector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LastNameInflector.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/LastNameInflector.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,MAAM,MAAM,gBAAgB,CAAC;AACpC,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,sBAAsB,MAAM,kDAAkD,CAAC;AAEtF,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAG5C,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,aAAa;IAC1D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkB;IACxC,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAyB;gBAEpD,KAAK,EAAE,aAAa,EAAE,EAAE,sBAAsB,EAAE,sBAAsB;IAMlF;;OAEG;IAEH,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,EAAE,UAAU,EAAE,OAAO,GAAG,MAAM;CAgCnH"}
@@ -1,13 +0,0 @@
1
- import InflectorRule from './InflectorRule';
2
- import Gender from '../Core/Gender';
3
- import GrammaticalCase from '../Core/GrammaticalCase';
4
- import NameInflector from './NameInflector';
5
- export default class MiddleNameInflector extends NameInflector {
6
- private readonly rules;
7
- constructor(rules: InflectorRule[]);
8
- /**
9
- * @inheritdoc
10
- */
11
- protected inflectWord(word: string, gender: Gender, grammaticalCase: GrammaticalCase): string;
12
- }
13
- //# sourceMappingURL=MiddleNameInflector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MiddleNameInflector.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/MiddleNameInflector.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,MAAM,MAAM,gBAAgB,CAAC;AACpC,OAAO,eAAe,MAAM,yBAAyB,CAAC;AAEtD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,aAAa;IAC5D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkB;gBAE5B,KAAK,EAAE,aAAa,EAAE;IAKlC;;OAEG;IACH,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,GAAG,MAAM;CAY9F"}
@@ -1,13 +0,0 @@
1
- import GrammaticalCase from '../Core/GrammaticalCase';
2
- import Gender from '../Core/Gender';
3
- export default abstract class NameInflector {
4
- /**
5
- * Inflects a given name in a given grammatical case.
6
- */
7
- inflect(name: string, gender: Gender, grammaticalCase: GrammaticalCase): string;
8
- /**
9
- * Inflects a given word of the compound name in a given grammatical case.
10
- */
11
- protected abstract inflectWord(word: string, gender: Gender, grammaticalCase: GrammaticalCase, isLastWord: boolean): string;
12
- }
13
- //# sourceMappingURL=NameInflector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NameInflector.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/NameInflector.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,aAAa;IACzC;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,GAAG,MAAM;IAO/E;;OAEG;IAEH,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,EAAE,UAAU,EAAE,OAAO,GAAG,MAAM;CAC5H"}
@@ -1,12 +0,0 @@
1
- import InflectorCommandRunner from './InflectorCommandRunner';
2
- import InflectorCommand from './InflectorCommand';
3
- export default class ReplaceCommandRunner implements InflectorCommandRunner {
4
- private readonly command;
5
- constructor(command: InflectorCommand);
6
- /**
7
- * Replaces a given value with the command value.
8
- * Returns a new value.
9
- */
10
- exec(value: string): string;
11
- }
12
- //# sourceMappingURL=ReplaceCommandRunner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReplaceCommandRunner.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/ReplaceCommandRunner.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,MAAM,CAAC,OAAO,OAAO,oBAAqB,YAAW,sBAAsB;IACzE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;gBAE/B,OAAO,EAAE,gBAAgB;IAIrC;;;OAGG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;CAG5B"}
@@ -1,12 +0,0 @@
1
- import GrammaticalCase from '../Core/GrammaticalCase';
2
- import InflectorRule from './InflectorRule';
3
- export default class RuleInflector {
4
- private readonly rule;
5
- private readonly commandRunnerFactory;
6
- constructor(rule: InflectorRule);
7
- /**
8
- * Inflects a given word in a given grammatical case using the rule.
9
- */
10
- inflect(word: string, grammaticalCase: GrammaticalCase): string;
11
- }
12
- //# sourceMappingURL=RuleInflector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RuleInflector.d.ts","sourceRoot":"","sources":["../../../src/AnthroponymInflector/RuleInflector.ts"],"names":[],"mappings":"AAEA,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAG5C,MAAM,CAAC,OAAO,OAAO,aAAa;IAChC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAgB;IACrC,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAuB;gBAEhD,IAAI,EAAE,aAAa;IAK/B;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,GAAG,MAAM;CAqBhE"}
@@ -1,9 +0,0 @@
1
- import Gender from './Gender';
2
- interface Anthroponym {
3
- gender: Gender;
4
- firstName?: string;
5
- middleName?: string;
6
- lastName?: string;
7
- }
8
- export default Anthroponym;
9
- //# sourceMappingURL=Anthroponym.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Anthroponym.d.ts","sourceRoot":"","sources":["../../../src/Core/Anthroponym.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,UAAU,WAAW;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAe,WAAW,CAAC"}
@@ -1,6 +0,0 @@
1
- declare enum Gender {
2
- Male = "male",
3
- Female = "female"
4
- }
5
- export default Gender;
6
- //# sourceMappingURL=Gender.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Gender.d.ts","sourceRoot":"","sources":["../../../src/Core/Gender.ts"],"names":[],"mappings":"AAAA,aAAK,MAAM;IACT,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GrammaticalCase.d.ts","sourceRoot":"","sources":["../../../src/Core/GrammaticalCase.ts"],"names":[],"mappings":"AAAA,aAAK,eAAe;IAClB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,eAAe,eAAe,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Validator.d.ts","sourceRoot":"","sources":["../../../src/Core/Validator.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,GAAG,GAAG,IAAI,CA8B1D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NeuralNetwork.d.ts","sourceRoot":"","sources":["../../../src/PartOfSpeechRecognizer/NeuralNetwork.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAK1C,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,OAAO,aAAa;IAChC,OAAO,CAAC,OAAO,CAAmB;;IAUlC;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,GAAG,GAAG,aAAa;IAM9C;;OAEG;IACH,MAAM;IAIN;;OAEG;IACH,QAAQ,IAAI,MAAM;IAIlB;;OAEG;IACH,KAAK,CAAC,YAAY,EAAE,yBAAyB,EAAE,eAAe,EAAE,GAAG,GAAG,aAAa;IAWnF;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY;CAKrC"}
@@ -1,7 +0,0 @@
1
- declare const _default: {
2
- InputLayerSize: number;
3
- HiddenLayerSize: number;
4
- OutputLayerSize: number;
5
- };
6
- export default _default;
7
- //# sourceMappingURL=NeuralNetworkParameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NeuralNetworkParameters.d.ts","sourceRoot":"","sources":["../../../src/PartOfSpeechRecognizer/NeuralNetworkParameters.ts"],"names":[],"mappings":";;;;;AAAA,wBAIE"}
@@ -1,6 +0,0 @@
1
- import PartOfSpeech from './PartOfSpeech';
2
- declare type NeuralNetworkTrainingData = {
3
- [word: string]: PartOfSpeech;
4
- };
5
- export default NeuralNetworkTrainingData;
6
- //# sourceMappingURL=NeuralNetworkTrainingData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NeuralNetworkTrainingData.d.ts","sourceRoot":"","sources":["../../../src/PartOfSpeechRecognizer/NeuralNetworkTrainingData.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,aAAK,yBAAyB,GAAG;IAC/B,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;CAC9B,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -1,6 +0,0 @@
1
- declare enum PartOfSpeech {
2
- Noun = "noun",
3
- Adjective = "adjective"
4
- }
5
- export default PartOfSpeech;
6
- //# sourceMappingURL=PartOfSpeech.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PartOfSpeech.d.ts","sourceRoot":"","sources":["../../../src/PartOfSpeechRecognizer/PartOfSpeech.ts"],"names":[],"mappings":"AAAA,aAAK,YAAY;IACf,IAAI,SAAS;IACb,SAAS,cAAc;CACxB;AAED,eAAe,YAAY,CAAC"}
@@ -1,9 +0,0 @@
1
- import PartOfSpeech from './PartOfSpeech';
2
- export default class PartOfSpeechDecoder {
3
- /**
4
- * Decodes an output of a neural network.
5
- * Returns a part of speech.
6
- */
7
- decode(input: number[]): PartOfSpeech;
8
- }
9
- //# sourceMappingURL=PartOfSpeechDecoder.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PartOfSpeechDecoder.d.ts","sourceRoot":"","sources":["../../../src/PartOfSpeechRecognizer/PartOfSpeechDecoder.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAG1C,MAAM,CAAC,OAAO,OAAO,mBAAmB;IACtC;;;OAGG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,YAAY;CAiBtC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PartOfSpeechEncoder.d.ts","sourceRoot":"","sources":["../../../src/PartOfSpeechRecognizer/PartOfSpeechEncoder.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,eAAO,MAAM,UAAU,IAAI,CAAC;AAC5B,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,mBAAmB;IACtC;;OAEG;IACH,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,MAAM,EAAE;CAUtC"}
@@ -1,14 +0,0 @@
1
- import RecognizerRule from './RecognizerRule';
2
- import Gender from '../Core/Gender';
3
- import PartOfSpeech from './PartOfSpeech';
4
- export default class PartOfSpeechRecognizer {
5
- private readonly rules;
6
- constructor(rules: RecognizerRule[]);
7
- /**
8
- * Recognizes the part of speech of a given word.
9
- * Returns part of speech of a given word.
10
- * Returns null if part of speech was not recognized.
11
- */
12
- recognize(word: string, gender: Gender): PartOfSpeech | null;
13
- }
14
- //# sourceMappingURL=PartOfSpeechRecognizer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PartOfSpeechRecognizer.d.ts","sourceRoot":"","sources":["../../../src/PartOfSpeechRecognizer/PartOfSpeechRecognizer.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,MAAM,MAAM,gBAAgB,CAAC;AACpC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAG1C,MAAM,CAAC,OAAO,OAAO,sBAAsB;IACzC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAmB;gBAE7B,KAAK,EAAE,cAAc,EAAE;IAInC;;;;OAIG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI;CAQ7D"}
@@ -1,19 +0,0 @@
1
- import PartOfSpeech from './PartOfSpeech';
2
- import Gender from '../Core/Gender';
3
- import NeuralNetwork from './NeuralNetwork';
4
- import NeuralNetworkTrainingData from './NeuralNetworkTrainingData';
5
- export interface RecognizerCondition {
6
- (word: string, gender: Gender): boolean;
7
- }
8
- export default class RecognizerRule {
9
- readonly condition: RecognizerCondition;
10
- readonly cache: NeuralNetworkTrainingData;
11
- private readonly neuralNetwork;
12
- constructor(condition: RecognizerCondition, neuralNetwork: NeuralNetwork, cache: NeuralNetworkTrainingData);
13
- /**
14
- * Applies the part of speech recognizer rule to a given word.
15
- * Returns a part of speech of a given word.
16
- */
17
- apply(word: string): PartOfSpeech;
18
- }
19
- //# sourceMappingURL=RecognizerRule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RecognizerRule.d.ts","sourceRoot":"","sources":["../../../src/PartOfSpeechRecognizer/RecognizerRule.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,MAAM,MAAM,gBAAgB,CAAC;AACpC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AAGpE,MAAM,WAAW,mBAAmB;IAClC,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC;AAED,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;IACxC,QAAQ,CAAC,KAAK,EAAE,yBAAyB,CAAC;IAC1C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAgB;gBAElC,SAAS,EAAE,mBAAmB,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,yBAAyB;IAM1G;;;OAGG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY;CAOlC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"WordEncoder.d.ts","sourceRoot":"","sources":["../../../src/PartOfSpeechRecognizer/WordEncoder.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,OAAO,WAAW;IAC9B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;gBAElB,IAAI,GAAE,MAA+C;IAIjE;;OAEG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE;CAUhC"}
@@ -1,7 +0,0 @@
1
- export default class WordTransformer {
2
- /**
3
- * Transform a given word for use in part of speech recognition process.
4
- */
5
- transform(word: string): string;
6
- }
7
- //# sourceMappingURL=WordTransformer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WordTransformer.d.ts","sourceRoot":"","sources":["../../../src/PartOfSpeechRecognizer/WordTransformer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,eAAe;IAClC;;OAEG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;CAGhC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LangUtils.d.ts","sourceRoot":"","sources":["../../../src/Utils/LangUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,QAAmB,CAAC;AAE/C;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAMhD"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Counts a number of groups in a given regular expression.
3
- */
4
- export declare function countGroups(src: RegExp | string): number;
5
- //# sourceMappingURL=RegExpUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RegExpUtils.d.ts","sourceRoot":"","sources":["../../../src/Utils/RegExpUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAOxD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"StringUtils.d.ts","sourceRoot":"","sources":["../../../src/Utils/StringUtils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CA8BhE;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,MAAU,GAAG,OAAO,CAEjE;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,MAAU,GAAG,OAAO,CAEjE"}