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". Can also be a unique abbreviation of an available filter name.

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. https://sites.google.com/site/mfwallace/jawbone

Examples

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

[Package wordnet version 0.1-16 Index]