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

Show file Open project: sisve/Lucene.Net.Analysis.Hunspell Class Usage Examples

Public Methods

Method 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 method

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
return System.Boolean

SetCondition() public method

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.
return void