C# Class Lucene.Net.Analysis.Hunspell.HunspellAffix

Afficher le fichier Open project: sisve/Lucene.Net.Analysis.Hunspell Class Usage Examples

Méthodes publiques

Méthode Description
CheckCondition ( String text ) : System.Boolean

Checks whether the String defined by the provided char array, offset and length, meets the condition of this affix.

SetCondition ( String condition, String pattern ) : void

Sets the condition that must be met before the affix can be applied.

Method Details

CheckCondition() public méthode

Checks whether the String defined by the provided char array, offset and length, meets the condition of this affix.
public CheckCondition ( String text ) : System.Boolean
text String
Résultat System.Boolean

SetCondition() public méthode

Sets the condition that must be met before the affix can be applied.
public SetCondition ( String condition, String pattern ) : void
condition String Condition to be met before affix application.
pattern String Condition as a regular expression pattern.
Résultat void