Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
lewangdev committed Mar 23, 2020
1 parent ae77a18 commit 15fff8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# scel2txt

搜狗细胞词库转鼠须管(RIME)词库,使用 Python3 实现
搜狗细胞词库转鼠须管(Rime)词库,使用 Python3 实现

## 使用

Expand Down
4 changes: 2 additions & 2 deletions scel2txt.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
搜狗细胞词库转鼠须管(RIME)词库
搜狗细胞词库转鼠须管(Rime)词库
@see 解析逻辑见 https://raw.githubusercontent.com/xwzhong/small-program/master/scel-to-txt/scel2txt.py
"""
Expand Down Expand Up @@ -136,7 +136,7 @@ def getChinese(self, data):

def deal(self, file_name):
self.GTable = []
print('-'*60)
print('-'*80)
with open(file_name, 'rb') as fin:
data = fin.read()
if data[0:12] != b"\x40\x15\x00\x00\x44\x43\x53\x01\x01\x00\x00\x00":
Expand Down

0 comments on commit 15fff8a

Please sign in to comment.