#!/bin/sh

bindir=/opt/local/bin

### Following is a quick example of LM estimation on a small data set.

${bindir}/expgram_counts_extract --corpus ../data/train.en.bz2 --output ngram.5.en.counts --order 5 --threads 4

${bindir}/expgram_counts_estimate --ngram ngram.5.en.counts --output ngram.5.en.lm --shard 4

### A standard way is:
# ${bindir}/expgram.py --corpus ../data/train.en --output ngram.5.en --threads 4
