open-lyric-plugin-km-kh 0.1.16 → 0.1.23

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 (67) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +150 -139
  3. package/dist/assets/{km_KH-obG7J62B.aff → km_KH-eSwGTpUX.aff} +4 -4
  4. package/dist/assets/{km_KH-suggest-D9MQ2Lj9.aff → km_KH-suggest-uDWEu9_z.aff} +31 -31
  5. package/dist/assets/{km_KH--Ig03MTN.dic → km_KH-xxc4EafU.dic} +19111 -19109
  6. package/dist/assets/spellcheck-khmer.worker-CZCZakmi.js +2 -0
  7. package/dist/assets/spellcheck-khmer.worker-CZCZakmi.js.map +1 -0
  8. package/dist/index.cjs +6 -6
  9. package/dist/index.cjs.map +1 -1
  10. package/dist/index.js +6 -6
  11. package/dist/index.js.map +1 -1
  12. package/dist/types/src/editor/scripts/app/EditorPreferencesStore.d.ts +7 -2
  13. package/dist/types/src/editor/scripts/app/MonacoFeatureController.d.ts +1 -1
  14. package/dist/types/src/editor/scripts/invisible-characters.d.ts +8 -0
  15. package/dist/types/src/editor/scripts/shared.d.ts +34 -1
  16. package/dist/types/src/editor/scripts/spellcheck-common.d.ts +2 -13
  17. package/dist/types/src/editor/scripts/spellcheck-labels.d.ts +16 -0
  18. package/dist/types/src/editor/scripts/spellcheck-notation.d.ts +66 -0
  19. package/dist/types/src/editor/scripts/spellcheck-text.d.ts +68 -0
  20. package/dist/types/src/editor/scripts/typo-dictionary.d.ts +53 -0
  21. package/dist/types/src/khmer-lint/keyboard-layout.d.ts +13 -0
  22. package/dist/types/src/khmer-lint/language.d.ts +34 -0
  23. package/dist/types/src/plugins/OpenLyric/OpenLyricEditorApplication.d.ts +5 -1
  24. package/dist/types/src/plugins/OpenLyric/document/validation.d.ts +11 -1
  25. package/dist/types/src/plugins/OpenLyric/domain/text-columns.d.ts +24 -0
  26. package/dist/types/src/plugins/OpenLyric/examples/catalog.d.ts +15 -0
  27. package/dist/types/src/plugins/OpenLyric/examples/index.d.ts +1 -1
  28. package/dist/types/src/plugins/OpenLyric/monaco/language.d.ts +53 -1
  29. package/dist/types/src/plugins/OpenLyric/open-lyric_ol_editor.d.ts +2 -0
  30. package/dist/types/src/plugins/OpenLyric/preview/controller/export-docx.d.ts +14 -1
  31. package/dist/types/src/plugins/OpenLyric/preview/controller/pptx/text-slides.d.ts +84 -0
  32. package/dist/types/src/plugins/OpenLyric/preview/helpers.d.ts +11 -9
  33. package/dist/types/src/plugins/OpenLyric/preview/index.d.ts +30 -1
  34. package/dist/types/src/plugins/km_KH/examples/catalog.d.ts +14 -0
  35. package/dist/types/src/plugins/km_KH/km_KH_keyboard.d.ts +20 -1
  36. package/dist/types/src/plugins/km_KH/km_KH_language.d.ts +25 -0
  37. package/dist/types/src/plugins/km_KH/km_KH_ol_editor.d.ts +1 -11
  38. package/dist/types-cjs/src/editor/scripts/app/EditorPreferencesStore.d.ts +7 -2
  39. package/dist/types-cjs/src/editor/scripts/app/MonacoFeatureController.d.ts +1 -1
  40. package/dist/types-cjs/src/editor/scripts/invisible-characters.d.ts +8 -0
  41. package/dist/types-cjs/src/editor/scripts/shared.d.ts +34 -1
  42. package/dist/types-cjs/src/editor/scripts/spellcheck-common.d.ts +2 -13
  43. package/dist/types-cjs/src/editor/scripts/spellcheck-labels.d.ts +16 -0
  44. package/dist/types-cjs/src/editor/scripts/spellcheck-notation.d.ts +66 -0
  45. package/dist/types-cjs/src/editor/scripts/spellcheck-text.d.ts +68 -0
  46. package/dist/types-cjs/src/editor/scripts/typo-dictionary.d.ts +53 -0
  47. package/dist/types-cjs/src/khmer-lint/keyboard-layout.d.ts +13 -0
  48. package/dist/types-cjs/src/khmer-lint/language.d.ts +34 -0
  49. package/dist/types-cjs/src/plugins/OpenLyric/OpenLyricEditorApplication.d.ts +5 -1
  50. package/dist/types-cjs/src/plugins/OpenLyric/document/validation.d.ts +11 -1
  51. package/dist/types-cjs/src/plugins/OpenLyric/domain/text-columns.d.ts +24 -0
  52. package/dist/types-cjs/src/plugins/OpenLyric/examples/catalog.d.ts +15 -0
  53. package/dist/types-cjs/src/plugins/OpenLyric/examples/index.d.ts +1 -1
  54. package/dist/types-cjs/src/plugins/OpenLyric/monaco/language.d.ts +53 -1
  55. package/dist/types-cjs/src/plugins/OpenLyric/open-lyric_ol_editor.d.ts +2 -0
  56. package/dist/types-cjs/src/plugins/OpenLyric/preview/controller/export-docx.d.ts +14 -1
  57. package/dist/types-cjs/src/plugins/OpenLyric/preview/controller/pptx/text-slides.d.ts +84 -0
  58. package/dist/types-cjs/src/plugins/OpenLyric/preview/helpers.d.ts +11 -9
  59. package/dist/types-cjs/src/plugins/OpenLyric/preview/index.d.ts +30 -1
  60. package/dist/types-cjs/src/plugins/km_KH/examples/catalog.d.ts +14 -0
  61. package/dist/types-cjs/src/plugins/km_KH/km_KH_keyboard.d.ts +20 -1
  62. package/dist/types-cjs/src/plugins/km_KH/km_KH_language.d.ts +25 -0
  63. package/dist/types-cjs/src/plugins/km_KH/km_KH_ol_editor.d.ts +1 -11
  64. package/how-to_open-lyric-plugin-km-kh.md +12 -4
  65. package/package.json +61 -58
  66. package/dist/assets/spellcheck-khmer.worker-CRDoN93Y.js +0 -2
  67. package/dist/assets/spellcheck-khmer.worker-CRDoN93Y.js.map +0 -1
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 raksa
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 raksa
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,140 +1,151 @@
1
- # Open Lyric Plugin Khmer (km-KH)
2
-
3
- Khmer (km-KH) support for the [`open-lyric`](../open-lyric) components: the
4
- NiDA on-screen keyboard, Hunspell spellcheck with Khmer word segmentation, and
5
- Khmer-capable font faces.
6
-
7
- One class per surface, because each surface consumes a different subset:
8
-
9
- | Class | Surface | Contributes |
10
- | ------------------------------------ | ---------- | --------------------------------------------------------------- |
11
- | `EditorPluginKmKh` | `editor` | Fonts, the Hunspell spellcheck spec, the NiDA keyboard (Ctrl+Alt+K), keyboard CSS |
12
- | `OpenLyricMarkdownManagerPluginKmKh` | `markdown` | Khmer-capable fonts + preview font styling |
13
- | `OpenLyricPluginKmKh` | `lyric` | Khmer-capable fonts + preview font styling |
14
-
15
- ## Install
16
-
17
- ```bash
18
- npm i open-lyric open-lyric-plugin-km-kh
19
- ```
20
-
21
- `open-lyric` is a peer dependency — this package contains no copy of it.
22
-
23
- ## Use
24
-
25
- ```js
26
- import { Editor, OpenLyric, OpenLyricMarkdownManager } from 'open-lyric';
27
- import {
28
- EditorPluginKmKh,
29
- OpenLyricMarkdownManagerPluginKmKh,
30
- OpenLyricPluginKmKh,
31
- } from 'open-lyric-plugin-km-kh';
32
-
33
- editor.addPlugin('km-KH', new EditorPluginKmKh());
34
- markdownManager.addPlugin('km-KH', new OpenLyricMarkdownManagerPluginKmKh());
35
- lyricPreview.addPlugin('km-KH', new OpenLyricPluginKmKh());
36
- ```
37
-
38
- `addPlugin` on a surface the class does not declare throws, so a mix-up
39
- surfaces immediately rather than silently doing nothing.
40
-
41
- `EditorPluginKmKh` also exposes `toggleKeyboard()` / `closeKeyboard()` /
42
- `isKeyboardMounted`, mirroring the Ctrl+Alt+K Monaco actions.
43
-
44
- `version` is this package's own version, taken from its `package.json` at build
45
- time. It bumps independently of the core's, so alias one of them when reporting
46
- both:
47
-
48
- ```js
49
- import { version as kmKhVersion } from 'open-lyric-plugin-km-kh';
50
- ```
51
-
52
- ## Module formats
53
-
54
- Ships **ESM and CommonJS**, with per-condition TypeScript declarations:
55
-
56
- | Condition | Code | Types |
57
- | --------- | ---------------- | ------------------ |
58
- | `import` | `dist/index.js` | `dist/index.d.ts` |
59
- | `require` | `dist/index.cjs` | `dist/index.d.cts` |
60
-
61
- Resolve this package through the same condition as `open-lyric` itself. The
62
- core still keeps module-level state, so mixing `import` and `require` across
63
- the two would load two copies of it — see the dual-package note in the
64
- [`open-lyric` README](../open-lyric/README.md#requirements-and-caveats).
65
-
66
- ## What this package bundles
67
-
68
- Everything Khmer ships here, not in `open-lyric`: the Hunspell dictionaries
69
- (`km_KH.aff`/`km_KH.dic` + the suggestion `.aff`), the segmentation-aware
70
- spellcheck worker, the NiDA keyboard and its stylesheet, and the Battambang
71
- `@font-face` sheet with the font files. `EditorPluginKmKh.install()` publishes
72
- the registry data itself, so attaching the plugin is the only thing that
73
- enables Khmer on a host — the core bundle carries none of it.
74
-
75
- What is *not* bundled is the core's stateful shared modules
76
- (`EditorPreferencesStore`, the plugin registry, the dictionary machinery):
77
- `EditorPreferencesStore` must be the same class the application uses, or
78
- keyboard and spellcheck preferences stop being shared. The build redirects
79
- those imports to `open-lyric/internal` (`packages/build-support.ts`). The
80
- redirect list is checked at build time — if an upstream import is renamed and
81
- a mapping stops matching, the build fails rather than silently bundling a
82
- duplicate.
83
-
84
- ## Caveats
85
-
86
- - **Fonts are declarative on preview surfaces.** `contributes.language.fontFaces`
87
- is data the host can read; the previews' font picker is driven by the
88
- component's own `fontFaces` property, which a host assigns.
89
- - **The editor surface contributes no `fontFaces` at all.** Composing km-KH on
90
- an `Editor` must not restyle the text being edited, so Monaco and the
91
- textareas keep their own font and Khmer falls through to the browser's
92
- default face for the script. A host that wants Battambang in the editor asks
93
- for it explicitly: `editor.fontFamily = KM_KH_WEBFONT_FACE` — the face name is
94
- a named export of this package, so no host has to spell `'editor-Battambang'`
95
- itself. (It is also readable from the plugin's `fonts` data, or from the
96
- `--ol-plugin-km-kh-font-family` custom property its stylesheet publishes.)
97
- - **The `@font-face` rules ship with THIS package** (`km_KH_fonts.scss`,
98
- emitted with the Battambang `.ttf` files into `dist/assets`). Every plugin
99
- class contributes the sheet through its `style` slot, so any surface that
100
- composes km-KH — bare embeds included — gets `editor-Battambang` without
101
- loading anything else.
102
- - **`installShellStyle()` declares the faces without attaching the plugin.** A
103
- `style` contribution is scoped to the component it is attached to and goes
104
- away with it, which makes the faces conditional on an attach. A page that
105
- only wants to NAME the face — assigning `fontFamily`/`fontFaces` so the
106
- settings popup offers it, as the standalone preview page entries do — would
107
- otherwise select a face the document never declared and get a silent fallback
108
- to a system Khmer face. So each class also exposes a static:
109
-
110
- ```ts
111
- OpenLyricPluginKmKh.installShellStyle(); // once, at page boot
112
- ```
113
-
114
- Page-lifetime, into `document.head`, no teardown, idempotent — and it shares
115
- a marker with the attach path, so composing the plugin as well still yields
116
- one sheet. It declares the `@font-face` rules and nothing else: a face styles
117
- no element until something names it, whereas `EditorPluginKmKh`'s other sheet
118
- (the NiDA keyboard chrome) does style elements and stays attach-scoped.
119
- - **The spellcheck engine is still page-global** — see the standalone-chrome
120
- notes in `research/editor-structure-implemented.md`.
121
-
122
- ## Build
123
-
124
- From the repo root: `npm run pack -- open-lyric-plugin-km-kh` (build
125
- `open-lyric` first — this package resolves against its `./internal` subpath).
126
-
127
-
128
- ### Releasing to npm
129
-
130
- For maintainers, from a clean `main`:
131
-
132
- ```bash
133
- npm test
134
- npm pack --dry-run # check which files go in the package
135
- npm whoami # run `npm login` if this fails
136
- npm version patch --tag-version-prefix="" # or minor / major
137
- npm publish
138
- git push origin main --follow-tags
139
- npm view open-lyric-plugin-km-kh version # confirm the new version is live
1
+ # Open Lyric Plugin Khmer (km-KH)
2
+
3
+ Khmer (km-KH) support for the [`Open Lyric`](https://github.com/raksa/open-lyric-dist#readme) components: the
4
+ NiDA on-screen keyboard, Hunspell spellcheck with Khmer word segmentation, and
5
+ Khmer-capable font faces.
6
+
7
+ One class per surface, because each surface consumes a different subset:
8
+
9
+ | Class | Surface | Contributes |
10
+ | ------------------------------------ | ---------- | --------------------------------------------------------------- |
11
+ | `EditorPluginKmKh` | `editor` | Fonts, the Hunspell spellcheck spec, the NiDA keyboard (Ctrl+Alt+K), keyboard CSS |
12
+ | `OpenLyricMarkdownManagerPluginKmKh` | `markdown` | Khmer-capable fonts + preview font styling |
13
+ | `OpenLyricPluginKmKh` | `lyric` | Khmer-capable fonts + preview font styling |
14
+
15
+ ## Install
16
+
17
+ ```bash
18
+ npm i open-lyric open-lyric-plugin-km-kh
19
+ ```
20
+
21
+ `open-lyric` is a peer dependency — this package contains no copy of it.
22
+ [`khmer-lint`](https://www.npmjs.com/package/khmer-lint), the Khmer engine, is
23
+ a regular dependency and is installed automatically.
24
+
25
+ ## Use
26
+
27
+ ```js
28
+ import { Editor, OpenLyric, OpenLyricMarkdownManager } from 'open-lyric';
29
+ import {
30
+ EditorPluginKmKh,
31
+ OpenLyricMarkdownManagerPluginKmKh,
32
+ OpenLyricPluginKmKh,
33
+ } from 'open-lyric-plugin-km-kh';
34
+
35
+ editor.addPlugin('km-KH', new EditorPluginKmKh());
36
+ markdownManager.addPlugin('km-KH', new OpenLyricMarkdownManagerPluginKmKh());
37
+ lyricPreview.addPlugin('km-KH', new OpenLyricPluginKmKh());
38
+ ```
39
+
40
+ `addPlugin` on a surface the class does not declare throws, so a mix-up
41
+ surfaces immediately rather than silently doing nothing.
42
+
43
+ `EditorPluginKmKh` also exposes `toggleKeyboard()` / `closeKeyboard()` /
44
+ `isKeyboardMounted`, mirroring the Ctrl+Alt+K Monaco actions.
45
+
46
+ `version` is this package's own version, taken from its `package.json` at build
47
+ time. It bumps independently of the core's, so alias one of them when reporting
48
+ both:
49
+
50
+ ```js
51
+ import { version as kmKhVersion } from 'open-lyric-plugin-km-kh';
52
+ ```
53
+
54
+ ## Module formats
55
+
56
+ Ships **ESM and CommonJS**, with per-condition TypeScript declarations:
57
+
58
+ | Condition | Code | Types |
59
+ | --------- | ---------------- | ------------------ |
60
+ | `import` | `dist/index.js` | `dist/index.d.ts` |
61
+ | `require` | `dist/index.cjs` | `dist/index.d.cts` |
62
+
63
+ Resolve this package through the same condition as `open-lyric` itself. The
64
+ core still keeps module-level state, so mixing `import` and `require` across
65
+ the two would load two copies of it — see the dual-package note in the
66
+ [`Open Lyric` README](https://github.com/raksa/open-lyric-dist#requirements-and-caveats).
67
+
68
+ ## What this package bundles
69
+
70
+ Everything Khmer the editor needs ships here, not in `open-lyric`:
71
+
72
+ - the Hunspell dictionaries (`km_KH.aff`/`km_KH.dic` + the suggestion `.aff`);
73
+ - the segmentation-aware spellcheck worker;
74
+ - the NiDA keyboard and its stylesheet;
75
+ - the Battambang `@font-face` sheet with the font files.
76
+
77
+ `EditorPluginKmKh.install()` publishes the registry data itself, so attaching
78
+ the plugin is the only thing that enables Khmer on a host. The core bundle
79
+ carries none of it.
80
+
81
+ The Khmer engine itself is imported from `khmer-lint`, not bundled: the script
82
+ rules, the NiDA layout table, segmentation and the spellcheck engine. The one
83
+ exception is the spellcheck worker. A worker script has to be self-contained,
84
+ so it carries its own compiled copy of that engine.
85
+
86
+ What is *not* bundled is the core's stateful shared modules
87
+ (`EditorPreferencesStore`, the plugin registry, the dictionary machinery):
88
+ `EditorPreferencesStore` must be the same class the application uses, or
89
+ keyboard and spellcheck preferences stop being shared. The build redirects
90
+ those imports to `open-lyric/internal` (`packages/build-support.ts`). The
91
+ redirect list is checked at build time — if an upstream import is renamed and
92
+ a mapping stops matching, the build fails rather than silently bundling a
93
+ duplicate.
94
+
95
+ ## Caveats
96
+
97
+ - **Fonts are declarative on preview surfaces.** `contributes.language.fontFaces`
98
+ is data the host can read; the previews' font picker is driven by the
99
+ component's own `fontFaces` property, which a host assigns.
100
+ - **The editor surface contributes no `fontFaces` at all.** Composing km-KH on
101
+ an `Editor` must not restyle the text being edited, so Monaco and the
102
+ textareas keep their own font and Khmer falls through to the browser's
103
+ default face for the script. A host that wants Battambang in the editor asks
104
+ for it explicitly: `editor.fontFamily = KM_KH_WEBFONT_FACE` — the face name is
105
+ a named export of this package, so no host has to spell `'editor-Battambang'`
106
+ itself. (It is also readable from the plugin's `fonts` data, or from the
107
+ `--ol-plugin-km-kh-font-family` custom property its stylesheet publishes.)
108
+ - **The `@font-face` rules ship with THIS package** (`km_KH_fonts.scss`,
109
+ emitted with the Battambang `.ttf` files into `dist/assets`). Every plugin
110
+ class contributes the sheet through its `style` slot, so any surface that
111
+ composes km-KH — bare embeds included — gets `editor-Battambang` without
112
+ loading anything else.
113
+ - **`installShellStyle()` declares the faces without attaching the plugin.** A
114
+ `style` contribution is scoped to the component it is attached to and goes
115
+ away with it, which makes the faces conditional on an attach. A page that
116
+ only wants to NAME the face — assigning `fontFamily`/`fontFaces` so the
117
+ settings popup offers it, as the standalone preview page entries do — would
118
+ otherwise select a face the document never declared and get a silent fallback
119
+ to a system Khmer face. So each class also exposes a static:
120
+
121
+ ```ts
122
+ OpenLyricPluginKmKh.installShellStyle(); // once, at page boot
123
+ ```
124
+
125
+ Page-lifetime, into `document.head`, no teardown, idempotent — and it shares
126
+ a marker with the attach path, so composing the plugin as well still yields
127
+ one sheet. It declares the `@font-face` rules and nothing else: a face styles
128
+ no element until something names it, whereas `EditorPluginKmKh`'s other sheet
129
+ (the NiDA keyboard chrome) does style elements and stays attach-scoped.
130
+ - **The spellcheck engine is still page-global** — see the standalone-chrome
131
+ notes in `research/editor-structure-implemented.md`.
132
+
133
+ ## Build
134
+
135
+ From the repo root: `npm run pack -- open-lyric-plugin-km-kh` (build
136
+ `open-lyric` first — this package resolves against its `./internal` subpath).
137
+
138
+
139
+ ### Releasing to npm
140
+
141
+ For maintainers, from a clean `main`:
142
+
143
+ ```bash
144
+ npm test
145
+ npm pack --dry-run # check which files go in the package
146
+ npm whoami # run `npm login` if this fails
147
+ npm version patch --tag-version-prefix="" # or minor / major
148
+ npm publish
149
+ git push origin main --follow-tags
150
+ npm view open-lyric-plugin-km-kh version # confirm the new version is live
140
151
  ```
@@ -1,4 +1,4 @@
1
- SET UTF-8
2
- FLAG long
3
-
4
- TRY ្ារកសបនតមិងលទអវុចយព់ំោគេជីហញណដូភែធ៉ខើះឹួៀថផឆៈ័ឡៗៃ៍ឧ៊ឃឋឺៅឌឈ៍ឥឿឱ‌ឫឍឯ៎ឪ៏ឮឩឰឦឳឭ។ឬ០១២៣៤៥៦៧៨៩‍៕៛៚៙៖៘ឝឞ
1
+ SET UTF-8
2
+ FLAG long
3
+
4
+ TRY ្ារកសបនតមិងលទអវុចយព់ំោគេជីហញណដូភែធ៉ខើះឹួៀថផឆៈ័ឡៗៃ៍ឧ៊ឃឋឺៅឌឈ៍ឥឿឱ‌ឫឍឯ៎ឪ៏ឮឩឰឦឳឭ។ឬ០១២៣៤៥៦៧៨៩‍៕៛៚៙៖៘ឝឞ
@@ -1,32 +1,32 @@
1
- SET UTF-8
2
-
3
- TRY ្ារកសបនតមិងលទអវុចយព់ំោគេជីហញណដូភែធ៉ខើះឹួៀថផឆៈ័ឡៗៃ៍ឧ៊ឃឋឺៅឌឈ៍ឥឿឱ‌ឫឍឯ៎ឪ៏ឮឩឰឦឳឭ។ឬ០១២៣៤៥៦៧៨៩‍៕៛៚៙៖៘ឝឞ
4
-
5
- # Identical conversion rule to make misspell got closer suggestion
6
- # ូ and ួ are easily confused
7
- ICONV 2
8
- ICONV ដ ត
9
- ICONV ត ដ
10
- ICONV 2
11
- ICONV ល ឡ
12
- ICONV ឡ ល
13
- # "្"+"ត" and "្"+"ដ"
14
- ICONV 2
15
- ICONV ្ត ្ដ
16
- ICONV ្ដ ្ត
17
- ICONV 2
18
- ICONV ូ ួ
19
- ICONV ួ ូ
20
- ICONV 2
21
- ICONV ិ ី
22
- ICONV ី ិ
23
- ICONV 2
24
- ICONV េ ែ
25
- ICONV ែ េ
26
- ICONV 2
27
- ICONV ្ត្រ ្រ្ត
28
- ICONV ្រ្ត ្ត្រ
29
-
30
- # អញ្ចឹង have to be replaced by អ៊ីចឹង
31
- REP 1
1
+ SET UTF-8
2
+
3
+ TRY ្ារកសបនតមិងលទអវុចយព់ំោគេជីហញណដូភែធ៉ខើះឹួៀថផឆៈ័ឡៗៃ៍ឧ៊ឃឋឺៅឌឈ៍ឥឿឱ‌ឫឍឯ៎ឪ៏ឮឩឰឦឳឭ។ឬ០១២៣៤៥៦៧៨៩‍៕៛៚៙៖៘ឝឞ
4
+
5
+ # Identical conversion rule to make misspell got closer suggestion
6
+ # ូ and ួ are easily confused
7
+ ICONV 2
8
+ ICONV ដ ត
9
+ ICONV ត ដ
10
+ ICONV 2
11
+ ICONV ល ឡ
12
+ ICONV ឡ ល
13
+ # "្"+"ត" and "្"+"ដ"
14
+ ICONV 2
15
+ ICONV ្ត ្ដ
16
+ ICONV ្ដ ្ត
17
+ ICONV 2
18
+ ICONV ូ ួ
19
+ ICONV ួ ូ
20
+ ICONV 2
21
+ ICONV ិ ី
22
+ ICONV ី ិ
23
+ ICONV 2
24
+ ICONV េ ែ
25
+ ICONV ែ េ
26
+ ICONV 2
27
+ ICONV ្ត្រ ្រ្ត
28
+ ICONV ្រ្ត ្ត្រ
29
+
30
+ # អញ្ចឹង have to be replaced by អ៊ីចឹង
31
+ REP 1
32
32
  REP អញ្ចឹង អ៊ីចឹង