@fpw/en-wiktionary-la-modules 0.2.2 → 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.
- package/LICENSE +75 -75
- package/README.md +19 -15
- package/dist/LaEngine.d.ts +23 -23
- package/dist/LaEngine.js +64 -66
- package/dist/index.d.ts +12 -11
- package/dist/index.js +12 -28
- package/dist/modules/common.d.ts +67 -66
- package/dist/modules/common.js +145 -157
- package/dist/modules/conjugation/LaVerb.d.ts +118 -109
- package/dist/modules/conjugation/LaVerb.js +2861 -2295
- package/dist/modules/conjugation/VerbAffix.d.ts +18 -18
- package/dist/modules/conjugation/VerbAffix.js +19 -23
- package/dist/modules/conjugation/VerbForm.d.ts +204 -182
- package/dist/modules/conjugation/VerbForm.js +215 -199
- package/dist/modules/conjugation/VerbType.d.ts +54 -40
- package/dist/modules/conjugation/VerbType.js +66 -58
- package/dist/modules/declination/LaAdjData.d.ts +16 -16
- package/dist/modules/declination/LaAdjData.js +1474 -908
- package/dist/modules/declination/LaNominal.d.ts +136 -130
- package/dist/modules/declination/LaNominal.js +1884 -1804
- package/dist/modules/declination/LaNounData.d.ts +16 -2
- package/dist/modules/declination/LaNounData.js +935 -855
- package/dist/modules/declination/LaPersonalPronoun.d.ts +12 -12
- package/dist/modules/declination/LaPersonalPronoun.js +80 -85
- package/dist/modules/declination/NominalForm.d.ts +85 -69
- package/dist/modules/declination/NominalForm.js +101 -91
- package/dist/modules/declination/NominalType.d.ts +191 -120
- package/dist/modules/declination/NominalType.js +211 -146
- package/dist/modules/headword/HeadWord.d.ts +107 -107
- package/dist/modules/headword/HeadWord.js +28 -32
- package/dist/modules/headword/HeadwordParser.d.ts +29 -29
- package/dist/modules/headword/HeadwordParser.js +456 -452
- package/package.json +23 -15
- package/dist/LaEngine.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/modules/common.js.map +0 -1
- package/dist/modules/conjugation/LaVerb.js.map +0 -1
- package/dist/modules/conjugation/VerbAffix.js.map +0 -1
- package/dist/modules/conjugation/VerbForm.js.map +0 -1
- package/dist/modules/conjugation/VerbType.js.map +0 -1
- package/dist/modules/declination/LaAdjData.js.map +0 -1
- package/dist/modules/declination/LaNominal.js.map +0 -1
- package/dist/modules/declination/LaNounData.js.map +0 -1
- package/dist/modules/declination/LaPersonalPronoun.js.map +0 -1
- package/dist/modules/declination/NominalForm.js.map +0 -1
- package/dist/modules/declination/NominalType.js.map +0 -1
- package/dist/modules/headword/HeadWord.js.map +0 -1
- package/dist/modules/headword/HeadwordParser.js.map +0 -1
- package/src/LaEngine.ts +0 -86
- package/src/index.ts +0 -16
- package/src/modules/common.ts +0 -164
- package/src/modules/conjugation/LaVerb.ts +0 -2669
- package/src/modules/conjugation/VerbAffix.ts +0 -18
- package/src/modules/conjugation/VerbForm.ts +0 -223
- package/src/modules/conjugation/VerbType.ts +0 -55
- package/src/modules/declination/LaAdjData.ts +0 -1036
- package/src/modules/declination/LaNominal.ts +0 -2025
- package/src/modules/declination/LaNounData.ts +0 -897
- package/src/modules/declination/LaPersonalPronoun.ts +0 -92
- package/src/modules/declination/NominalForm.ts +0 -89
- package/src/modules/declination/NominalType.ts +0 -157
- package/src/modules/headword/HeadWord.ts +0 -132
- package/src/modules/headword/HeadwordParser.ts +0 -515
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { LaVerb } from "../conjugation/LaVerb";
|
|
2
|
-
import { LaNominal } from "../declination/LaNominal";
|
|
3
|
-
import { HeadwordData } from "./HeadWord";
|
|
4
|
-
export
|
|
5
|
-
export declare class HeadwordParser {
|
|
6
|
-
private templateParsers;
|
|
7
|
-
private nominal;
|
|
8
|
-
private conj;
|
|
9
|
-
private logger;
|
|
10
|
-
constructor(nominal: LaNominal, conj: LaVerb, logger?: (msg: string) => void);
|
|
11
|
-
isHeadwordTemplate(template: string): boolean;
|
|
12
|
-
parse(template: string, lemma: string): HeadwordData;
|
|
13
|
-
private log;
|
|
14
|
-
private parseNominalHead;
|
|
15
|
-
private parseAdjectivalHead;
|
|
16
|
-
private parseVerbalHead;
|
|
17
|
-
private parseGerund;
|
|
18
|
-
private parseComparativeAdj;
|
|
19
|
-
private parseSuperlativeAdj;
|
|
20
|
-
private parseAdverb;
|
|
21
|
-
private parseAdverbNumeral;
|
|
22
|
-
private parseAdverbCompSup;
|
|
23
|
-
private parseLetter;
|
|
24
|
-
private parsePreposition;
|
|
25
|
-
private parseInterjection;
|
|
26
|
-
private parsePhrase;
|
|
27
|
-
private parseHead;
|
|
28
|
-
private parseForm;
|
|
29
|
-
}
|
|
1
|
+
import { LaVerb } from "../conjugation/LaVerb.js";
|
|
2
|
+
import { LaNominal } from "../declination/LaNominal.js";
|
|
3
|
+
import { HeadwordData } from "./HeadWord.js";
|
|
4
|
+
export type Args = Map<string, string>;
|
|
5
|
+
export declare class HeadwordParser {
|
|
6
|
+
private templateParsers;
|
|
7
|
+
private nominal;
|
|
8
|
+
private conj;
|
|
9
|
+
private logger;
|
|
10
|
+
constructor(nominal: LaNominal, conj: LaVerb, logger?: (msg: string) => void);
|
|
11
|
+
isHeadwordTemplate(template: string): boolean;
|
|
12
|
+
parse(template: string, lemma: string): HeadwordData;
|
|
13
|
+
private log;
|
|
14
|
+
private parseNominalHead;
|
|
15
|
+
private parseAdjectivalHead;
|
|
16
|
+
private parseVerbalHead;
|
|
17
|
+
private parseGerund;
|
|
18
|
+
private parseComparativeAdj;
|
|
19
|
+
private parseSuperlativeAdj;
|
|
20
|
+
private parseAdverb;
|
|
21
|
+
private parseAdverbNumeral;
|
|
22
|
+
private parseAdverbCompSup;
|
|
23
|
+
private parseLetter;
|
|
24
|
+
private parsePreposition;
|
|
25
|
+
private parseInterjection;
|
|
26
|
+
private parsePhrase;
|
|
27
|
+
private parseHead;
|
|
28
|
+
private parseForm;
|
|
29
|
+
}
|