# Copyright (c) 2011-2012 Vit Suchomel and Jan Pomikalek
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.

"""Character encoding detection library."""

import os
import sys
import struct

ENCODE_REPLACEMENT_CHARACTER = '\x00'
MODEL_VERSION = '1.3'

def list_models():
    "Returns a list of inbuilt models."
    models = []
    models_dir = os.path.join(
        os.path.dirname(sys.modules['chared'].__file__), 'models')