mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
include kanji in reading generation
This commit is contained in:
parent
bd31fb4e69
commit
40a7278aa5
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class KakasiController(object):
|
||||||
from errno import ENOENT
|
from errno import ENOENT
|
||||||
raise OSError(ENOENT, 'Kakasi not available')
|
raise OSError(ENOENT, 'Kakasi not available')
|
||||||
# don't convert kana to hiragana
|
# don't convert kana to hiragana
|
||||||
p = Popen("kakasi -isjis -osjis -u -JH -p", shell=True,
|
p = Popen("kakasi -isjis -osjis -u -f -s -JH -p", shell=True,
|
||||||
bufsize=-1, stdin=PIPE, stdout=PIPE)
|
bufsize=-1, stdin=PIPE, stdout=PIPE)
|
||||||
(self.kin, self.kout) = (p.stdin, p.stdout)
|
(self.kin, self.kout) = (p.stdin, p.stdout)
|
||||||
self._open = True
|
self._open = True
|
||||||
|
|
Loading…
Reference in a new issue