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