hdtrans 0.5.6 → 0.5.7
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/dictionary.json +3 -3
- package/dist/dicts.hdsnap +1 -1
- package/dist/dicts.txt +1 -1
- package/dist/hdtrans_engine.wasm +0 -0
- package/dist/runtime.d.ts +3 -2
- package/package.json +1 -1
package/dist/dictionary.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.5.
|
|
2
|
+
"version": "0.5.7+58cac2456586",
|
|
3
3
|
"snapshot": {
|
|
4
4
|
"file": "dicts.hdsnap",
|
|
5
|
-
"sha256": "
|
|
5
|
+
"sha256": "27aa106a1ea8e7ad2b68a961a5cc7f3071b124cc2a243340e63cc574d808090c",
|
|
6
6
|
"builtinFingerprint": "88432e59af7427f1c9a078c6c3dd65775421bb94a9e6e1737d774511af202efb",
|
|
7
|
-
"dataFingerprint": "
|
|
7
|
+
"dataFingerprint": "f1fb2112dc5a110405ff2bc4dab12f014bf916c86ca1fccbd810ba3e0bd617df"
|
|
8
8
|
},
|
|
9
9
|
"files": []
|
|
10
10
|
}
|
package/dist/dicts.hdsnap
CHANGED
package/dist/dicts.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.7+58cac2456586
|
package/dist/hdtrans_engine.wasm
CHANGED
|
Binary file
|
package/dist/runtime.d.ts
CHANGED
|
@@ -37,8 +37,9 @@ export interface TranslationResult {
|
|
|
37
37
|
/** Ehnd-style stage and fired-rule messages, including trailing newlines. Not load diagnostics. */
|
|
38
38
|
logs: string[];
|
|
39
39
|
}
|
|
40
|
-
/** The speech level
|
|
41
|
-
*
|
|
40
|
+
/** The speech level: 'strict' (the default) keeps plain sentence ends (간다) but where the
|
|
41
|
+
* Japanese marks casual speech; 'soft' writes them in 해체 (갈 거야) inside 「」 and on lines
|
|
42
|
+
* without 「」 that read as speech. */
|
|
42
43
|
export type Speech = 'soft' | 'strict';
|
|
43
44
|
/** UTF-8 contents of PreFilter*.txt, PostFilter*.txt, SkipLayer*.txt and UserDict*.txt. */
|
|
44
45
|
export type EhndFiles = Readonly<Record<string, string>>;
|