aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-05-14 13:32:57 +0200
committerGitHub <noreply@github.com>2024-05-14 11:32:57 +0000
commit82049f3439acae346767351827e0963a2586b702 (patch)
tree16db804b8dbcd5e6cdd3bae6e97dd78b731d9391 /types
parenta336d176777e865228698a4daaf4b70e05309ca6 (diff)
add korean (#787)
* prepare preprocessors * add postprocessors * add hangul functions (#13) * move hangul to lib, add test (#14) * add hangul functions * hangul lib * fix tests * test inputs * fix hangul disassemble, fix postprocessing * rename test * reset transformedText for multiple postprocessors * add credits * fix conflict --------- Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com> * Vetting done (#16) * add hangul functions * hangul lib * fix tests * test inputs * fix hangul disassemble, fix postprocessing * rename test * reset transformedText for multiple postprocessors * add credits * fix conflict * add transforms * move substring * textprocessing function * mostly fixed * delete comment * mostly fixed (cherry picked from commit 268c8968ec64bf9d1fbd7d448a96d590399265c4) * prepare preprocessors (cherry picked from commit d139258398de9285396db31c6d46795ee95eb01a) * (reset) remove textSourceMap * rawSource before textreplacements * update tests * fix transforms * fix transforms * 100% vetted * add link to dict --------- Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com> * update unit tests * update test --------- Co-authored-by: Lyroxide <33834537+Lyroxide@users.noreply.github.com>
Diffstat (limited to 'types')
-rw-r--r--types/ext/language-descriptors.d.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/types/ext/language-descriptors.d.ts b/types/ext/language-descriptors.d.ts
index 59c1fd2f..a8d00f8f 100644
--- a/types/ext/language-descriptors.d.ts
+++ b/types/ext/language-descriptors.d.ts
@@ -123,6 +123,14 @@ type AllTextProcessors = {
collapseEmphaticSequences: TextProcessor<[collapseEmphatic: boolean, collapseEmphaticFull: boolean]>;
};
};
+ ko: {
+ pre: {
+ disassembleHangul: TextProcessor<boolean>;
+ };
+ post: {
+ reassembleHangul: TextProcessor<boolean>;
+ };
+ };
km: Record<string, never>;
nl: {
pre: CapitalizationPreprocessors;