N-gram

Module containing helper functions and classes around ngrams

source

NgramDataset

 NgramDataset (lines, c2i, n=2)

Initialize self. See help(type(self)) for accurate signature.