hdtrans 0.5.5 → 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.
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.5.5+58cac2456586",
2
+ "version": "0.5.7+58cac2456586",
3
3
  "snapshot": {
4
4
  "file": "dicts.hdsnap",
5
- "sha256": "da4a7bfca512b0a2b4f87fabb346c4ef3b0c6f70ae453a4ddf78afa16f0aecad",
5
+ "sha256": "27aa106a1ea8e7ad2b68a961a5cc7f3071b124cc2a243340e63cc574d808090c",
6
6
  "builtinFingerprint": "88432e59af7427f1c9a078c6c3dd65775421bb94a9e6e1737d774511af202efb",
7
- "dataFingerprint": "85fc6c94c8e9897ca91fc4ba8410a539c812750d68c72cfac13682d9eafd5bbb"
7
+ "dataFingerprint": "f1fb2112dc5a110405ff2bc4dab12f014bf916c86ca1fccbd810ba3e0bd617df"
8
8
  },
9
9
  "files": []
10
10
  }
package/dist/dicts.hdsnap CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/dicts.hdsnap
3
3
  size: 36649478 bytes
4
- sha256: da4a7bfca512b0a2b4f87fabb346c4ef3b0c6f70ae453a4ddf78afa16f0aecad
4
+ sha256: 27aa106a1ea8e7ad2b68a961a5cc7f3071b124cc2a243340e63cc574d808090c
package/dist/dicts.txt CHANGED
@@ -1 +1 @@
1
- 0.5.5+58cac2456586
1
+ 0.5.7+58cac2456586
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 of the text inside 「」: 'strict' (the default) keeps its plain sentence
41
- * ends (간다), 'soft' writes them in 해체 (갈 거야). */
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>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdtrans",
3
- "version": "0.5.5",
3
+ "version": "0.5.7",
4
4
  "description": "Japanese to Korean translation with a bundled WebAssembly engine and dictionary",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",