@gukhanmun/types 0.2.0-dev.42 → 0.2.0-dev.59
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/index.d.ts +13 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -362,6 +362,19 @@ interface GukhanmunOptions {
|
|
|
362
362
|
* @see {@link ContextWindow}
|
|
363
363
|
*/
|
|
364
364
|
readonly firstOccurrenceWindow?: ContextWindow;
|
|
365
|
+
/**
|
|
366
|
+
* Whether to collapse redundant parenthetical reading annotations. Defaults
|
|
367
|
+
* to `true`.
|
|
368
|
+
*
|
|
369
|
+
* When enabled, an explicit gloss such as `庫間(곳간)` or `곳간(庫間)` is
|
|
370
|
+
* recognised, the redundant parenthetical is removed, and the annotation is
|
|
371
|
+
* shown in both scripts in every render mode. A parenthetical that pins an
|
|
372
|
+
* alternative reading (for example `數字(수자)`) overrides the dictionary
|
|
373
|
+
* reading for that occurrence. A parenthetical that is a definition rather
|
|
374
|
+
* than a reading (for example `庫間(물건을 간직하여 두는 곳)`) is left
|
|
375
|
+
* untouched.
|
|
376
|
+
*/
|
|
377
|
+
readonly collapseRedundantParens?: boolean;
|
|
365
378
|
/**
|
|
366
379
|
* Error recovery policy for HTML scanning. Defaults to `"strict"`.
|
|
367
380
|
* Ignored for non-HTML input formats.
|