# Path: actrie/util.py
# def convert2unicode(string):
#     # type: (AnyStr) -> str
#     if isinstance(string, bytes):
#         return string.decode("utf-8")
#     return string


from .util import convert2unicode
# coding=utf-8



class TokenizerError(Exception):
    def __init__(self, value):
        self.value = value

    def __str__(self):
        return repr(self.value)



# Path: actrie/util.py
# def convert2unicode(string):
#     # type: (AnyStr) -> str
#     if isinstance(string, bytes):
#         return string.decode("utf-8")
#     return string


# Path: actrie/tokenizer.py
from .util import convert2unicode

# coding=utf-8



class TokenizerError(Exception):
    def __init__(self, value):
        self.value = value

    def __str__(self):
        return repr(self.value)



number_char = [convert2unicode(str(x)) for x in range(10)]