vertica/Vertica-Extension-Packages — pull request #4 by alamb (2011-11-22 13:33:46+00:00)
Title: String library pull request

This commit adds new functions to string_package in order to support text search within the database. Specifically, NGrams can be used to build an inverted index and the Stemmer can be used to match words like 'possible' and 'possibly'

New functions:

* Stemmer: the famous Porter Stemmer (http://en.wikipedia.org/wiki/Stemming)
*
* NGrams: find all 2,3,4 and 5 word sequences in sentences
* (http://en.wikipedia.org/wiki/N-gram).
*
* WordCount: Counts the number of words that appear in a sentence