Class RSLPStemmerBase.RuleWithSuffixExceptions
A rule with a set of exceptional suffixes.
Inherited Members
Namespace: Lucene.Net.Analysis.Pt
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
protected class RSLPStemmerBase.RuleWithSuffixExceptions : RSLPStemmerBase.Rule
Constructors
RuleWithSuffixExceptions(string, int, string, string[])
A rule with a set of exceptional suffixes.
Declaration
public RuleWithSuffixExceptions(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 exceptional suffixes.
Declaration
protected readonly char[][] m_exceptions
Field Value
| Type | Description |
|---|---|
| char[][] |
Methods
Matches(char[], int)
A rule with a set of exceptional suffixes.
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. |