Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ayaka14732 committed Apr 19, 2024
1 parent 9303921 commit 192e3e7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/常量.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
QieyunEncoder.常量
==================

.. raw:: html

<style>
.property > .pre { white-space: pre-wrap }
</style>

.. automodule:: QieyunEncoder.常量
:members:
:undoc-members:
Expand Down
2 changes: 1 addition & 1 deletion src/QieyunEncoder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from .音韻地位 import 音韻地位
from .韻鏡位置 import 韻鏡位置

__version__ = '0.4.3'
__version__ = '0.5.0'
5 changes: 5 additions & 0 deletions src/QieyunEncoder/轉換/韻目到韻.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-

import warnings

# 經典韻系

# 首字爲 `QieyunEncoder` 認定的標準韻,之後爲非標準韻
Expand Down Expand Up @@ -87,4 +89,7 @@ def 韻目到韻(韻: str) -> str:
>>> 韻目到韻('東')
'東'
'''
if == '驗':
warning = "There is more confusion between 鹽B and 嚴 in 集韻, so '驗' (廣韻鹽B) becomes 嚴 in 集韻"
warnings.warn(warning)
return _標準韻映射表[]

0 comments on commit 192e3e7

Please sign in to comment.