@polyglot-bundles/km-parallel-text 0.1.5 → 0.3.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-bundles/km-parallel-text",
3
- "version": "0.1.5",
3
+ "version": "0.3.7",
4
4
  "description": "Khmer parallel text corpus - Essential 218 and GSFA 1200 sentences with Khmer translations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,11 +42,12 @@
42
42
  "vite": "^8.0.8",
43
43
  "vite-plugin-dts": "^4.5.4",
44
44
  "@polyglot-bundles/lang-tooling": "0.0.0",
45
- "@polyglot-bundles/parallel-text-base": "0.1.4"
45
+ "@polyglot-bundles/parallel-text-base": "0.5.6"
46
46
  },
47
47
  "scripts": {
48
48
  "typecheck": "tsc --noEmit",
49
- "build": "tsx scripts/generate.ts && vite build",
50
- "clean": "rm -rf dist"
49
+ "build": "vite build",
50
+ "clean": "rm -rf dist",
51
+ "generate": "tsx scripts/generate.ts"
51
52
  }
52
53
  }
@@ -1,5 +0,0 @@
1
- /**
2
- * Parallel text utilities for Essential 218 sentences in Khmer
3
- */
4
- export { getParallelTextById, getParallelTextByIds, defaultRemarks } from './utils';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/essential-218/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const defaultRemarksEssential218: Record<string, string>;
2
- //# sourceMappingURL=remarks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remarks.d.ts","sourceRoot":"","sources":["../../src/essential-218/remarks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAE7D,CAAC"}
@@ -1,3 +0,0 @@
1
- import { EssentialSentenceTranslation } from '@polyglot-bundles/parallel-text-base';
2
- export declare const translations: EssentialSentenceTranslation[];
3
- //# sourceMappingURL=translations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../src/essential-218/translations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAEzF,eAAO,MAAM,YAAY,EAAE,4BAA4B,EAAO,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const getParallelTextById: (id: string) => import('@polyglot-bundles/parallel-text-base').ParallelText | undefined, getParallelTextByIds: (ids: string[]) => import('@polyglot-bundles/parallel-text-base').ParallelText[], defaultRemarks: import('@polyglot-bundles/parallel-text-base').ParallelTextRemarks;
2
- export { getParallelTextById, getParallelTextByIds, defaultRemarks };
3
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/essential-218/utils.ts"],"names":[],"mappings":"AAIA,QAAA,MAAQ,mBAAmB,2FAAE,oBAAoB,oFAAE,cAAc,oEAGhE,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,cAAc,EAAE,CAAC"}
@@ -1,8 +0,0 @@
1
- import { createEssential218Utils as e } from "@polyglot-bundles/parallel-text-base";
2
- //#endregion
3
- //#region src/essential-218/utils.ts
4
- var { getParallelTextById: t, getParallelTextByIds: n, defaultRemarks: r } = e([], {});
5
- //#endregion
6
- export { t as n, n as r, r as t };
7
-
8
- //# sourceMappingURL=essential-218-BEILeO_6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"essential-218-BEILeO_6.js","names":[],"sources":["../src/essential-218/translations.ts","../src/essential-218/remarks.ts","../src/essential-218/utils.ts"],"sourcesContent":["/**\r\n * Empty stub - translations will be added later\r\n */\r\nimport type { EssentialSentenceTranslation } from \"@polyglot-bundles/parallel-text-base\";\r\n\r\nexport const translations: EssentialSentenceTranslation[] = [];","export const defaultRemarksEssential218: Record<string, string> = {\r\n // Remarks to be populated\r\n};\r\n","import { createEssential218Utils } from \"@polyglot-bundles/parallel-text-base\";\nimport { translations } from \"./translations\";\nimport { defaultRemarksEssential218 } from \"./remarks\";\n\nconst { getParallelTextById, getParallelTextByIds, defaultRemarks } = createEssential218Utils(\n translations,\n defaultRemarksEssential218,\n);\n\nexport { getParallelTextById, getParallelTextByIds, defaultRemarks };"],"mappings":";;;AEIA,IAAM,EAAE,wBAAqB,yBAAsB,sBAAmB,EFCV,EAAE,ECLI,EAEjE,CCKA"}
@@ -1,2 +0,0 @@
1
- import { n as e, r as t, t as n } from "./essential-218-BEILeO_6.js";
2
- export { n as defaultRemarks, e as getParallelTextById, t as getParallelTextByIds };
@@ -1,5 +0,0 @@
1
- /**
2
- * Parallel text utilities for Gsfa 1200 sentences in Khmer
3
- */
4
- export { getParallelTextById, getParallelTextByIds, defaultRemarks } from './utils';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/gsfa-1200/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const defaultRemarksGSFA1200: Record<string, string>;
2
- //# sourceMappingURL=remarks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remarks.d.ts","sourceRoot":"","sources":["../../src/gsfa-1200/remarks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAEzD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { GSFASentenceTranslation } from '@polyglot-bundles/parallel-text-base';
2
- export declare const translations: GSFASentenceTranslation[];
3
- //# sourceMappingURL=translations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../src/gsfa-1200/translations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAEpF,eAAO,MAAM,YAAY,EAAE,uBAAuB,EAAO,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const getParallelTextById: (id: string) => import('@polyglot-bundles/parallel-text-base').ParallelText | undefined, getParallelTextByIds: (ids: string[]) => import('@polyglot-bundles/parallel-text-base').ParallelText[], defaultRemarks: import('@polyglot-bundles/parallel-text-base').ParallelTextRemarks;
2
- export { getParallelTextById, getParallelTextByIds, defaultRemarks };
3
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/gsfa-1200/utils.ts"],"names":[],"mappings":"AAIA,QAAA,MAAQ,mBAAmB,2FAAE,oBAAoB,oFAAE,cAAc,oEAGhE,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,cAAc,EAAE,CAAC"}
package/dist/index.d.ts DELETED
@@ -1,10 +0,0 @@
1
- /**
2
- * @polyglot-bundles/km-parallel-text
3
- *
4
- * Khmer parallel text corpus — Essential 218 and GSFA 1200 sentences
5
- * with Khmer translations.
6
- */
7
- export { getParallelTextById, getParallelTextByIds, defaultRemarks, } from './essential-218';
8
- export { getParallelTextById as getGSFAParallelTextById, getParallelTextByIds as getGSFAParallelTextByIds, defaultRemarks as defaultGSFARemarks, } from './gsfa-1200';
9
- export type { ParallelText, ParallelTextRemarks } from '@polyglot-bundles/parallel-text-base';
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,GACf,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,mBAAmB,IAAI,uBAAuB,EAC9C,oBAAoB,IAAI,wBAAwB,EAChD,cAAc,IAAI,kBAAkB,GACrC,MAAM,aAAa,CAAC;AAGrB,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC"}
package/dist/index.js DELETED
@@ -1,9 +0,0 @@
1
- import { n as e, r as t, t as n } from "./essential-218-BEILeO_6.js";
2
- import { createGSFAUtils as r } from "@polyglot-bundles/parallel-text-base";
3
- //#endregion
4
- //#region src/gsfa-1200/utils.ts
5
- var { getParallelTextById: i, getParallelTextByIds: a, defaultRemarks: o } = r([], {});
6
- //#endregion
7
- export { o as defaultGSFARemarks, n as defaultRemarks, i as getGSFAParallelTextById, a as getGSFAParallelTextByIds, e as getParallelTextById, t as getParallelTextByIds };
8
-
9
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/gsfa-1200/translations.ts","../src/gsfa-1200/remarks.ts","../src/gsfa-1200/utils.ts"],"sourcesContent":["/**\r\n * Empty stub - GSFA 1200 translations will be added later\r\n */\r\nimport type { GSFASentenceTranslation } from \"@polyglot-bundles/parallel-text-base\";\r\n\r\nexport const translations: GSFASentenceTranslation[] = [];","export const defaultRemarksGSFA1200: Record<string, string> = {\r\n // Remarks to be populated\r\n};\r\n","import { createGSFAUtils } from \"@polyglot-bundles/parallel-text-base\";\nimport { translations } from \"./translations\";\nimport { defaultRemarksGSFA1200 } from \"./remarks\";\n\nconst { getParallelTextById, getParallelTextByIds, defaultRemarks } = createGSFAUtils(\n translations,\n defaultRemarksGSFA1200,\n);\n\nexport { getParallelTextById, getParallelTextByIds, defaultRemarks };"],"mappings":";;;;AEIA,IAAM,EAAE,wBAAqB,yBAAsB,sBAAmB,EFCf,EAAE,ECLK,EAE7D,CCKA"}