Browse Source

辞書のパス指定

btc-sounds
Gitea 9 months ago
parent
commit
e9f3642698
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      aques.py

+ 1
- 1
aques.py View File

@@ -15,7 +15,7 @@ class Aques:
phont = f.read () phont = f.read ()


aqkoe = cdll.LoadLibrary ('libAqKanji2Koe.so') aqkoe = cdll.LoadLibrary ('libAqKanji2Koe.so')
dic_path: str = '.'
dic_path: str = './aq_dic'
err = c_int (0) err = c_int (0)
aqkoe.AqKanji2Koe_Create.restype = c_void_p aqkoe.AqKanji2Koe_Create.restype = c_void_p
handle = aqkoe.AqKanji2Koe_Create (dic_path, byref (err)) handle = aqkoe.AqKanji2Koe_Create (dic_path, byref (err))


Loading…
Cancel
Save