MCPcopy Create free account
hub / github.com/EasyIME/PIME / __init__

Method __init__

python/cinbase/__init__.py:73–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71
72class CinBase:
73 def __init__(self):
74 self.cinbasecurdir = os.path.abspath(os.path.dirname(__file__))
75 self.icondir = os.path.join(os.path.dirname(__file__), "icons")
76 self.candselKeys = "1234567890"
77
78 with io.open(os.path.join(os.path.dirname(__file__), "data", "emoji.json"), 'r', encoding='utf8') as fs:
79 self.emoji = emoji(fs)
80
81 self.emojimenulist = ["表情符號", "圖形符號", "其它符號", "雜錦符號", "交通運輸", "調色盤"]
82 self.imeNameList = ["checj", "chephonetic", "chearray", "chedayi", "cheez", "chepinyin", "chesimplex", "cheliu"]
83 self.hcinFileList = ["thphonetic.json", "CnsPhonetic.json", "bpmf.json"]
84
85 # 初始化輸入行為設定
86 def initTextService(self, cbTS, TextService):

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 3

emojiClass · 0.90
joinMethod · 0.80
openMethod · 0.45

Tested by

no test coverage detected