Using Ngram In Python
i'm trying to run the following code from ngram import NGram NGram.compare('foo', 'foobar') But i'm getting the error Traceback (most recent call last): Fil
You don't have module called ngram. You need to install it. Just use
easy_install ngram
or
pip install ngram
in terminal (for Linux, Mac OS, Cygwin in Windows) if you have python setuptools.
Post a Comment for "Using Ngram In Python"