gukhanmun 0.4.0.dev323__cp311-abi3-win_amd64.whl
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.
- gukhanmun/__init__.py +95 -0
- gukhanmun/_api.py +643 -0
- gukhanmun/_dictionary_data.py +166 -0
- gukhanmun/_native.pyd +0 -0
- gukhanmun/_native.pyi +31 -0
- gukhanmun/_types.py +492 -0
- gukhanmun/dictionaries.py +224 -0
- gukhanmun/py.typed +0 -0
- gukhanmun-0.4.0.dev323.dist-info/METADATA +113 -0
- gukhanmun-0.4.0.dev323.dist-info/RECORD +13 -0
- gukhanmun-0.4.0.dev323.dist-info/WHEEL +4 -0
- gukhanmun-0.4.0.dev323.dist-info/licenses/LICENSE +674 -0
- gukhanmun-0.4.0.dev323.dist-info/sboms/gukhanmun-python.cyclonedx.json +4341 -0
gukhanmun/__init__.py
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Gukhanmun: Public Python converter API.
|
|
2
|
+
# Copyright (C) 2026 Hong Minhee
|
|
3
|
+
#
|
|
4
|
+
# This program is free software: you can redistribute it and/or modify
|
|
5
|
+
# it under the terms of the GNU General Public License as published by
|
|
6
|
+
# the Free Software Foundation, either version 3 of the License, or
|
|
7
|
+
# (at your option) any later version.
|
|
8
|
+
#
|
|
9
|
+
# This program is distributed in the hope that it will be useful,
|
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
# GNU General Public License for more details.
|
|
13
|
+
#
|
|
14
|
+
# You should have received a copy of the GNU General Public License
|
|
15
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
16
|
+
|
|
17
|
+
from importlib.metadata import version as _distribution_version
|
|
18
|
+
|
|
19
|
+
from ._api import ConversionStream, Converter as Converter
|
|
20
|
+
from ._types import (
|
|
21
|
+
Preset as Preset,
|
|
22
|
+
RenderMode as RenderMode,
|
|
23
|
+
OriginalGloss as OriginalGloss,
|
|
24
|
+
HanjaVariantSet as HanjaVariantSet,
|
|
25
|
+
Segmentation as Segmentation,
|
|
26
|
+
SourcePolicy as SourcePolicy,
|
|
27
|
+
SourceRole as SourceRole,
|
|
28
|
+
NumeralStrategy as NumeralStrategy,
|
|
29
|
+
ContextWindow as ContextWindow,
|
|
30
|
+
HomophoneDetection as HomophoneDetection,
|
|
31
|
+
Recovery as Recovery,
|
|
32
|
+
PunctuationPreset as PunctuationPreset,
|
|
33
|
+
SpaceAfter as SpaceAfter,
|
|
34
|
+
DictionaryFormat as DictionaryFormat,
|
|
35
|
+
InputFormat as InputFormat,
|
|
36
|
+
ErrorCode as ErrorCode,
|
|
37
|
+
UnsetType as UnsetType,
|
|
38
|
+
UNSET as UNSET,
|
|
39
|
+
DictionaryEntry as DictionaryEntry,
|
|
40
|
+
FileDictionarySource as FileDictionarySource,
|
|
41
|
+
UrlDictionarySource as UrlDictionarySource,
|
|
42
|
+
MapDictionarySource as MapDictionarySource,
|
|
43
|
+
Directives as Directives,
|
|
44
|
+
HtmlOptions as HtmlOptions,
|
|
45
|
+
AttributeMatcher as AttributeMatcher,
|
|
46
|
+
StopStyle as StopStyle,
|
|
47
|
+
DelimiterStyle as DelimiterStyle,
|
|
48
|
+
CustomPunctuationProfile as CustomPunctuationProfile,
|
|
49
|
+
ResolvedPunctuationProfile as ResolvedPunctuationProfile,
|
|
50
|
+
ResolvedOptions as ResolvedOptions,
|
|
51
|
+
MarkdownOptions as MarkdownOptions,
|
|
52
|
+
ErrorCause as ErrorCause,
|
|
53
|
+
GukhanmunError as GukhanmunError,
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
__version__: str = _distribution_version("gukhanmun")
|
|
57
|
+
|
|
58
|
+
__all__ = [
|
|
59
|
+
"__version__",
|
|
60
|
+
"Converter",
|
|
61
|
+
"ConversionStream",
|
|
62
|
+
"Preset",
|
|
63
|
+
"RenderMode",
|
|
64
|
+
"OriginalGloss",
|
|
65
|
+
"HanjaVariantSet",
|
|
66
|
+
"Segmentation",
|
|
67
|
+
"SourcePolicy",
|
|
68
|
+
"SourceRole",
|
|
69
|
+
"NumeralStrategy",
|
|
70
|
+
"ContextWindow",
|
|
71
|
+
"HomophoneDetection",
|
|
72
|
+
"Recovery",
|
|
73
|
+
"PunctuationPreset",
|
|
74
|
+
"SpaceAfter",
|
|
75
|
+
"DictionaryFormat",
|
|
76
|
+
"InputFormat",
|
|
77
|
+
"ErrorCode",
|
|
78
|
+
"UnsetType",
|
|
79
|
+
"UNSET",
|
|
80
|
+
"DictionaryEntry",
|
|
81
|
+
"FileDictionarySource",
|
|
82
|
+
"UrlDictionarySource",
|
|
83
|
+
"MapDictionarySource",
|
|
84
|
+
"Directives",
|
|
85
|
+
"HtmlOptions",
|
|
86
|
+
"AttributeMatcher",
|
|
87
|
+
"StopStyle",
|
|
88
|
+
"DelimiterStyle",
|
|
89
|
+
"CustomPunctuationProfile",
|
|
90
|
+
"ResolvedPunctuationProfile",
|
|
91
|
+
"ResolvedOptions",
|
|
92
|
+
"MarkdownOptions",
|
|
93
|
+
"ErrorCause",
|
|
94
|
+
"GukhanmunError",
|
|
95
|
+
]
|