# Path: corpkit/constants.py
# PYTHON_VERSION = sys.version_info.major
# 
# STRINGTYPE = str if PYTHON_VERSION == 3 else basestring


import math
import os
        import os
        import pandas as pd
        import pandas as pd
    import os
from nltk import ngrams, sent_tokenize, word_tokenize
from corpkit.constants import PYTHON_VERSION, STRINGTYPE
        from collections import Counter
        from corpkit.other import load
        from collections import Counter, OrderedDict
        from corpkit.corpus import Subcorpus, File
    from pandas import DataFrame, Series
    from corpkit.other import load
        from corpkit.other import save

from __future__ import division
from __future__ import print_function



class LanguageModel(object):

# Path: corpkit/constants.py
# PYTHON_VERSION = sys.version_info.major
# 
# STRINGTYPE = str if PYTHON_VERSION == 3 else basestring


# Path: corpkit/model.py
import math
import os
        import os
        import pandas as pd
        import pandas as pd
    import os
from nltk import ngrams, sent_tokenize, word_tokenize
from corpkit.constants import PYTHON_VERSION, STRINGTYPE
        from collections import Counter
        from corpkit.other import load
        from collections import Counter, OrderedDict
        from corpkit.corpus import Subcorpus, File
    from pandas import DataFrame, Series
    from corpkit.other import load
        from corpkit.other import save


from __future__ import division
from __future__ import print_function



class LanguageModel(object):

    def __init__(self, order, alpha, data):