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