# Path: preimage/exceptions/n_gram.py
# class NoYLengthsError(ValueError):
#     def __str__(self):
#         error_message = "y_lengths can't be None if is_using_length = True"
#         return error_message


import abc
import numpy
from sklearn.base import BaseEstimator
from preimage.exceptions.n_gram import NoYLengthsError
__author__ = 'amelie'





class Model(BaseEstimator):
    __metaclass__ = abc.ABCMeta

    def __init__(self, alphabet, n, is_using_length=True):
        self._n = n

# Path: preimage/exceptions/n_gram.py
# class NoYLengthsError(ValueError):
#     def __str__(self):
#         error_message = "y_lengths can't be None if is_using_length = True"
#         return error_message


# Path: preimage/models/model.py
import abc
import numpy
from sklearn.base import BaseEstimator
from preimage.exceptions.n_gram import NoYLengthsError

__author__ = 'amelie'





class Model(BaseEstimator):
    __metaclass__ = abc.ABCMeta

    def __init__(self, alphabet, n, is_using_length=True):
        self._n = n

        self._alphabet = alphabet