Class RSLPStemmerBase.RuleWithSetExceptions
A rule with a set of whole-word exceptions.
Inherited Members
Namespace: Lucene.Net.Analysis.Pt
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
protected class RSLPStemmerBase.RuleWithSetExceptions : RSLPStemmerBase.Rule
Constructors
RuleWithSetExceptions(string, int, string, string[])
A rule with a set of whole-word exceptions.
Declaration
public RuleWithSetExceptions(string suffix, int min, string replacement, string[] exceptions)
Parameters
Type | Name | Description |
---|---|---|
string | suffix | |
int | min | |
string | replacement | |
string[] | exceptions |
Fields
m_exceptions
A rule with a set of whole-word exceptions.
Declaration
protected readonly CharArraySet m_exceptions
Field Value
Type | Description |
---|---|
CharArraySet |
Methods
Matches(char[], int)
A rule with a set of whole-word exceptions.
Declaration
public override bool Matches(char[] s, int len)
Parameters
Type | Name | Description |
---|---|---|
char[] | s | |
int | len |
Returns
Type | Description |
---|---|
bool | true if the word matches this rule. |