phrase nets
Static Public Member Functions | Static Public Attributes | Static Package Functions
pn::parse::StopWords Class Reference

List of all members.

Static Public Member Functions

static final Set< String > get (String language) throws PNException

Static Public Attributes

static final String PATH = "/cue/lang/stop/"

Static Package Functions

 [static initializer]

Detailed Description

Provides stopwords for languages based on stopword files.


Member Function Documentation

static final Set<String> pn::parse::StopWords::get ( String  language) throws PNException [inline, static]

Returns a set containing stop words for a given language. The language must match the filename of the corresponding stopword file.

Parameters:
languageThe language
Returns:
Set (implementation with O(1) lookup time) containing the stopwords
Exceptions:
PNExceptionOn errors

The documentation for this class was generated from the following file:
 All Classes Functions Variables