hdtrans 0.5.6 → 0.5.8

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.6+58cac2456586",
2
+ "version": "0.5.8+58cac2456586",
3
3
  "snapshot": {
4
4
  "file": "dicts.hdsnap",
5
- "sha256": "e92d4459ae64edf139ebdf331f16dd6bdd9de10d00e0e141afefd9368ee4b4d4",
5
+ "sha256": "dbc5f4fb52fc25c35d85f6224f846f34dd9bd01cd0cbe203a3c3cee7e0599453",
6
6
  "builtinFingerprint": "88432e59af7427f1c9a078c6c3dd65775421bb94a9e6e1737d774511af202efb",
7
- "dataFingerprint": "4ff62b9d7f2d42f931452418a25ac57b739f985adc1fc34ca50ceae004c6dbb1"
7
+ "dataFingerprint": "75b94cf7864be560bccd56057bd45167aa7027012f84bc68109682287b6a1cec"
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: e92d4459ae64edf139ebdf331f16dd6bdd9de10d00e0e141afefd9368ee4b4d4
4
+ sha256: dbc5f4fb52fc25c35d85f6224f846f34dd9bd01cd0cbe203a3c3cee7e0599453
package/dist/dicts.txt CHANGED
@@ -1 +1 @@
1
- 0.5.6+58cac2456586
1
+ 0.5.8+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.6",
3
+ "version": "0.5.8",
4
4
  "description": "Japanese to Korean translation with a bundled WebAssembly engine and dictionary",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",