@lokascript/i18n 1.0.0 → 1.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.
- package/dist/browser.cjs +18 -13
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +18 -13
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +19 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -14
- package/dist/index.js.map +1 -1
- package/dist/lokascript-i18n.min.js +2 -0
- package/dist/lokascript-i18n.min.js.map +1 -0
- package/dist/{hyperfixi-i18n.mjs → lokascript-i18n.mjs} +19 -14
- package/dist/lokascript-i18n.mjs.map +1 -0
- package/package.json +20 -12
- package/src/grammar/grammar.test.ts +13 -12
- package/src/grammar/profiles/index.ts +18 -13
- package/dist/hyperfixi-i18n.min.js +0 -2
- package/dist/hyperfixi-i18n.min.js.map +0 -1
- package/dist/hyperfixi-i18n.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -11388,7 +11388,7 @@ ZodNaN.create = (params) => {
|
|
|
11388
11388
|
...processCreateParams(params)
|
|
11389
11389
|
});
|
|
11390
11390
|
};
|
|
11391
|
-
var BRAND =
|
|
11391
|
+
var BRAND = Symbol("zod_brand");
|
|
11392
11392
|
var ZodBranded = class extends ZodType {
|
|
11393
11393
|
_parse(input) {
|
|
11394
11394
|
const { ctx } = this._processInputParams(input);
|
|
@@ -12602,29 +12602,31 @@ var turkishProfile = {
|
|
|
12602
12602
|
direction: "ltr",
|
|
12603
12603
|
canonicalOrder: ["patient", "event", "action"],
|
|
12604
12604
|
markers: [
|
|
12605
|
-
// Turkish case suffixes
|
|
12605
|
+
// Turkish case suffixes - using spaced form for tokenization
|
|
12606
|
+
// Note: Real Turkish attaches these as suffixes, but we use spaces
|
|
12607
|
+
// so the semantic tokenizer can properly parse them
|
|
12606
12608
|
{
|
|
12607
|
-
form: "
|
|
12609
|
+
form: "i",
|
|
12608
12610
|
role: "patient",
|
|
12609
12611
|
position: "postposition",
|
|
12610
12612
|
required: true,
|
|
12611
|
-
alternatives: ["
|
|
12613
|
+
alternatives: ["\u0131", "u", "\xFC"]
|
|
12612
12614
|
},
|
|
12613
12615
|
{
|
|
12614
|
-
form: "
|
|
12616
|
+
form: "e",
|
|
12615
12617
|
role: "destination",
|
|
12616
12618
|
position: "postposition",
|
|
12617
12619
|
required: true,
|
|
12618
|
-
alternatives: ["
|
|
12620
|
+
alternatives: ["a"]
|
|
12619
12621
|
},
|
|
12620
12622
|
{
|
|
12621
|
-
form: "
|
|
12623
|
+
form: "den",
|
|
12622
12624
|
role: "source",
|
|
12623
12625
|
position: "postposition",
|
|
12624
12626
|
required: true,
|
|
12625
|
-
alternatives: ["
|
|
12627
|
+
alternatives: ["dan"]
|
|
12626
12628
|
},
|
|
12627
|
-
{ form: "
|
|
12629
|
+
{ form: "de", role: "event", position: "postposition", required: true, alternatives: ["da"] },
|
|
12628
12630
|
{ form: "ile", role: "style", position: "postposition", required: false },
|
|
12629
12631
|
{ form: "olarak", role: "method", position: "postposition", required: false }
|
|
12630
12632
|
],
|
|
@@ -12747,11 +12749,14 @@ var quechuaProfile = {
|
|
|
12747
12749
|
direction: "ltr",
|
|
12748
12750
|
canonicalOrder: ["patient", "source", "destination", "event", "action"],
|
|
12749
12751
|
markers: [
|
|
12750
|
-
|
|
12751
|
-
|
|
12752
|
-
|
|
12753
|
-
{ form: "
|
|
12754
|
-
{ form: "
|
|
12752
|
+
// Quechua case suffixes - using spaced form for tokenization
|
|
12753
|
+
// Note: Real Quechua attaches these as suffixes, but we use spaces
|
|
12754
|
+
// so the semantic tokenizer can properly parse them
|
|
12755
|
+
{ form: "ta", role: "patient", position: "postposition", required: true },
|
|
12756
|
+
{ form: "man", role: "destination", position: "postposition", required: true },
|
|
12757
|
+
{ form: "manta", role: "source", position: "postposition", required: true },
|
|
12758
|
+
{ form: "pi", role: "event", position: "postposition", required: true },
|
|
12759
|
+
{ form: "wan", role: "style", position: "postposition", required: false },
|
|
12755
12760
|
{ form: "hina", role: "method", position: "postposition", required: false }
|
|
12756
12761
|
// "as/like"
|
|
12757
12762
|
]
|