C# Class Lucene.Net.Analysis.Pt.RSLPStemmerBase.Rule

A basic rule, with no exceptions.
Show file Open project: apache/lucenenet

Protected Properties

Property Type Description
min int
replacement char[]
suffix char[]

Public Methods

Method Description
Matches ( char s, int len ) : bool
Replace ( char s, int len ) : int
Rule ( string suffix, int min, string replacement ) : System

Create a rule.

Method Details

Matches() public method

public Matches ( char s, int len ) : bool
s char
len int
return bool

Replace() public method

public Replace ( char s, int len ) : int
s char
len int
return int

Rule() public method

Create a rule.
public Rule ( string suffix, int min, string replacement ) : System
suffix string suffix to remove
min int minimum stem length
replacement string replacement string
return System

Property Details

min protected property

protected int min
return int

replacement protected property

protected char[] replacement
return char[]

suffix protected property

protected char[] suffix
return char[]