getTermFilter {wordnet}R Documentation

Get a Term Filter

Description

Get a term filter.

Usage

getTermFilter(type, word, ignoreCase)

Arguments

type Filter type. Available filters are ContainsFilter, EndsWithFilter, ExactMatchFilter, RegexFilter, SoundFilter, StartsWithFilter, and WildcardFilter.
word Term to be matched.
ignoreCase Indicates whether lower and upper case are distinguished.

Value

A term filter.

Author(s)

Ingo Feinerer

References

M. Wallace (2007). Jawbone Java WordNet API. http://mfwallace.googlepages.com/jawbone.html

Examples

if (initDict())
  getTermFilter("StartsWithFilter", "car", TRUE)

[Package wordnet version 0.1-3 Index]