Java interface for representing PDFs as vectors. Ngram and word vector implementations; cosine angle example.