NGrams

Simple application for calculating n-grams using Google.

Latest on Hackage:1.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Justin Bailey
Maintained by jgbailey _ gmail _ com

An n-gram is a natural language processing technique for determining, given a list of words and a phrase, the probability that each of the words given will follow in the phrase. The executable provided asks for a phrase and a list of alternate ending words. It also asks for the type of n-gram to create (e.g., bi-gram, tri-gram). The probability for each possible phrase is then calculated using Google search results.

Used by 1 package:
comments powered byDisqus