Class RSLPStemmerBase.Step
A step containing a list of rules.
Inherited Members
Namespace: Lucene.Net.Analysis.Pt
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
protected class RSLPStemmerBase.Step
Constructors
Step(string, Rule[], int, string[])
Create a new step
Declaration
public Step(string name, RSLPStemmerBase.Rule[] rules, int min, string[] suffixes)
Parameters
Type | Name | Description |
---|---|---|
string | name | Step's name. |
Rule[] | rules | an ordered list of rules. |
int | min | minimum word size. if this is 0 it is automatically calculated. |
string[] | suffixes | optional list of conditional suffixes. may be null. |
Fields
m_min
A step containing a list of rules.
Declaration
protected readonly int m_min
Field Value
Type | Description |
---|---|
int |
m_name
A step containing a list of rules.
Declaration
protected readonly string m_name
Field Value
Type | Description |
---|---|
string |
m_rules
A step containing a list of rules.
Declaration
protected readonly RSLPStemmerBase.Rule[] m_rules
Field Value
Type | Description |
---|---|
Rule[] |
m_suffixes
A step containing a list of rules.
Declaration
protected readonly char[][] m_suffixes
Field Value
Type | Description |
---|---|
char[][] |
Methods
Apply(char[], int)
A step containing a list of rules.
Declaration
public virtual int Apply(char[] s, int len)
Parameters
Type | Name | Description |
---|---|---|
char[] | s | |
int | len |
Returns
Type | Description |
---|---|
int | new valid length of the string after applying the entire step. |