mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
import path fix
This commit is contained in:
parent
5e0869d9c9
commit
e6e2c066bd
@ -16,10 +16,10 @@ Tranliterate the string from unicode characters to ASCII in Chinese and others.
|
||||
|
||||
'''
|
||||
|
||||
from unihandecode.unidecoder import Unidecoder
|
||||
from unihandecode.jadecoder import Jadecoder
|
||||
from unihandecode.krdecoder import Krdecoder
|
||||
from unihandecode.vndecoder import Vndecoder
|
||||
from calibre.ebooks.unihandecode.unidecoder import Unidecoder
|
||||
from calibre.ebooks.unihandecode.jadecoder import Jadecoder
|
||||
from calibre.ebooks.unihandecode.krdecoder import Krdecoder
|
||||
from calibre.ebooks.unihandecode.vndecoder import Vndecoder
|
||||
|
||||
class Unihandecoder(object):
|
||||
preferred_encoding = None
|
||||
|
@ -18,10 +18,10 @@ Copyright (c) 2010 Hiroshi Miura
|
||||
'''
|
||||
|
||||
import os, re
|
||||
from unihandecode.unidecoder import Unidecoder
|
||||
from unihandecode.unicodepoints import CODEPOINTS
|
||||
from unihandecode.jacodepoints import CODEPOINTS as JACODES
|
||||
from unihandecode.pykakasi import kakasi
|
||||
from calibre.ebooks.unihandecode.unidecoder import Unidecoder
|
||||
from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS
|
||||
from calibre.ebooks.unihandecode.jacodepoints import CODEPOINTS as JACODES
|
||||
from calibre.ebooks.unihandecode.pykakasi import kakasi
|
||||
|
||||
class Jadecoder(Unidecoder):
|
||||
kakasi = None
|
||||
|
@ -11,9 +11,9 @@ Based on unidecoder.
|
||||
'''
|
||||
|
||||
import re
|
||||
from unihandecode.unidecoder import Unidecoder
|
||||
from unihandecode.krcodepoints import CODEPOINTS as HANCODES
|
||||
from unihandecode.unicodepoints import CODEPOINTS
|
||||
from calibre.ebooks.unihandecode.unidecoder import Unidecoder
|
||||
from calibre.ebooks.unihandecode.krcodepoints import CODEPOINTS as HANCODES
|
||||
from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS
|
||||
|
||||
class Krdecoder(Unidecoder):
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
from kakasi import kakasi
|
||||
from calibre.ebooks.unihandecode.pykakasi.kakasi import kakasi
|
||||
|
||||
__all__ = ["pykakasi"]
|
||||
|
||||
|
@ -59,8 +59,8 @@ it under the same terms as Perl itself.
|
||||
'''
|
||||
|
||||
import re
|
||||
from unihandecode.unicodepoints import CODEPOINTS
|
||||
from unihandecode.zhcodepoints import CODEPOINTS as HANCODES
|
||||
from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS
|
||||
from calibre.ebooks.unihandecode.zhcodepoints import CODEPOINTS as HANCODES
|
||||
|
||||
class Unidecoder(object):
|
||||
|
||||
|
@ -10,9 +10,9 @@ Decode unicode text to an ASCII representation of the text in Vietnamese.
|
||||
'''
|
||||
|
||||
import re
|
||||
from unihandecode.unidecoder import Unidecoder
|
||||
from unihandecode.vncodepoints import CODEPOINTS as HANCODES
|
||||
from unihandecode.unicodepoints import CODEPOINTS
|
||||
from calibre.ebooks.unihandecode.unidecoder import Unidecoder
|
||||
from calibre.ebooks.unihandecode.vncodepoints import CODEPOINTS as HANCODES
|
||||
from calibre.ebooks.unihandecode.unicodepoints import CODEPOINTS
|
||||
|
||||
class Vndecoder(Unidecoder):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user