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

A basic rule, with no exceptions.
Afficher le fichier Open project: apache/lucenenet

Protected Properties

Свойство Type Description
min int
replacement char[]
suffix char[]

Méthodes publiques

Méthode 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 méthode

public Matches ( char s, int len ) : bool
s char
len int
Résultat bool

Replace() public méthode

public Replace ( char s, int len ) : int
s char
len int
Résultat int

Rule() public méthode

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
Résultat System

Property Details

min protected_oe property

protected int min
Résultat int

replacement protected_oe property

protected char[] replacement
Résultat char[]

suffix protected_oe property

protected char[] suffix
Résultat char[]