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.
- package/LICENSE +21 -21
- package/README.md +150 -139
- package/dist/assets/{km_KH-obG7J62B.aff → km_KH-eSwGTpUX.aff} +4 -4
- package/dist/assets/{km_KH-suggest-D9MQ2Lj9.aff → km_KH-suggest-uDWEu9_z.aff} +31 -31
- package/dist/assets/{km_KH--Ig03MTN.dic → km_KH-xxc4EafU.dic} +19111 -19109
- package/dist/assets/spellcheck-khmer.worker-CZCZakmi.js +2 -0
- package/dist/assets/spellcheck-khmer.worker-CZCZakmi.js.map +1 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/types/src/editor/scripts/app/EditorPreferencesStore.d.ts +7 -2
- package/dist/types/src/editor/scripts/app/MonacoFeatureController.d.ts +1 -1
- package/dist/types/src/editor/scripts/invisible-characters.d.ts +8 -0
- package/dist/types/src/editor/scripts/shared.d.ts +34 -1
- package/dist/types/src/editor/scripts/spellcheck-common.d.ts +2 -13
- package/dist/types/src/editor/scripts/spellcheck-labels.d.ts +16 -0
- package/dist/types/src/editor/scripts/spellcheck-notation.d.ts +66 -0
- package/dist/types/src/editor/scripts/spellcheck-text.d.ts +68 -0
- package/dist/types/src/editor/scripts/typo-dictionary.d.ts +53 -0
- package/dist/types/src/khmer-lint/keyboard-layout.d.ts +13 -0
- package/dist/types/src/khmer-lint/language.d.ts +34 -0
- package/dist/types/src/plugins/OpenLyric/OpenLyricEditorApplication.d.ts +5 -1
- package/dist/types/src/plugins/OpenLyric/document/validation.d.ts +11 -1
- package/dist/types/src/plugins/OpenLyric/domain/text-columns.d.ts +24 -0
- package/dist/types/src/plugins/OpenLyric/examples/catalog.d.ts +15 -0
- package/dist/types/src/plugins/OpenLyric/examples/index.d.ts +1 -1
- package/dist/types/src/plugins/OpenLyric/monaco/language.d.ts +53 -1
- package/dist/types/src/plugins/OpenLyric/open-lyric_ol_editor.d.ts +2 -0
- package/dist/types/src/plugins/OpenLyric/preview/controller/export-docx.d.ts +14 -1
- package/dist/types/src/plugins/OpenLyric/preview/controller/pptx/text-slides.d.ts +84 -0
- package/dist/types/src/plugins/OpenLyric/preview/helpers.d.ts +11 -9
- package/dist/types/src/plugins/OpenLyric/preview/index.d.ts +30 -1
- package/dist/types/src/plugins/km_KH/examples/catalog.d.ts +14 -0
- package/dist/types/src/plugins/km_KH/km_KH_keyboard.d.ts +20 -1
- package/dist/types/src/plugins/km_KH/km_KH_language.d.ts +25 -0
- package/dist/types/src/plugins/km_KH/km_KH_ol_editor.d.ts +1 -11
- package/dist/types-cjs/src/editor/scripts/app/EditorPreferencesStore.d.ts +7 -2
- package/dist/types-cjs/src/editor/scripts/app/MonacoFeatureController.d.ts +1 -1
- package/dist/types-cjs/src/editor/scripts/invisible-characters.d.ts +8 -0
- package/dist/types-cjs/src/editor/scripts/shared.d.ts +34 -1
- package/dist/types-cjs/src/editor/scripts/spellcheck-common.d.ts +2 -13
- package/dist/types-cjs/src/editor/scripts/spellcheck-labels.d.ts +16 -0
- package/dist/types-cjs/src/editor/scripts/spellcheck-notation.d.ts +66 -0
- package/dist/types-cjs/src/editor/scripts/spellcheck-text.d.ts +68 -0
- package/dist/types-cjs/src/editor/scripts/typo-dictionary.d.ts +53 -0
- package/dist/types-cjs/src/khmer-lint/keyboard-layout.d.ts +13 -0
- package/dist/types-cjs/src/khmer-lint/language.d.ts +34 -0
- package/dist/types-cjs/src/plugins/OpenLyric/OpenLyricEditorApplication.d.ts +5 -1
- package/dist/types-cjs/src/plugins/OpenLyric/document/validation.d.ts +11 -1
- package/dist/types-cjs/src/plugins/OpenLyric/domain/text-columns.d.ts +24 -0
- package/dist/types-cjs/src/plugins/OpenLyric/examples/catalog.d.ts +15 -0
- package/dist/types-cjs/src/plugins/OpenLyric/examples/index.d.ts +1 -1
- package/dist/types-cjs/src/plugins/OpenLyric/monaco/language.d.ts +53 -1
- package/dist/types-cjs/src/plugins/OpenLyric/open-lyric_ol_editor.d.ts +2 -0
- package/dist/types-cjs/src/plugins/OpenLyric/preview/controller/export-docx.d.ts +14 -1
- package/dist/types-cjs/src/plugins/OpenLyric/preview/controller/pptx/text-slides.d.ts +84 -0
- package/dist/types-cjs/src/plugins/OpenLyric/preview/helpers.d.ts +11 -9
- package/dist/types-cjs/src/plugins/OpenLyric/preview/index.d.ts +30 -1
- package/dist/types-cjs/src/plugins/km_KH/examples/catalog.d.ts +14 -0
- package/dist/types-cjs/src/plugins/km_KH/km_KH_keyboard.d.ts +20 -1
- package/dist/types-cjs/src/plugins/km_KH/km_KH_language.d.ts +25 -0
- package/dist/types-cjs/src/plugins/km_KH/km_KH_ol_editor.d.ts +1 -11
- package/how-to_open-lyric-plugin-km-kh.md +12 -4
- package/package.json +61 -58
- package/dist/assets/spellcheck-khmer.worker-CRDoN93Y.js +0 -2
- 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 [`
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
`
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
|
59
|
-
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
the
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
`
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
- **
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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 អញ្ចឹង អ៊ីចឹង
|