org.apache.lucene.analysis.compound.hyphenation.HyphenationTree.addException C# (CSharp) Method

addException() public method

Add an exception to the tree. It is used by PatternParser PatternParser class as callback to store the hyphenation exceptions.
public addException ( string word, List hyphenatedword ) : void
word string normalized word
hyphenatedword List a vector of alternating strings and /// objects.
return void
	  public virtual void addException(string word, List<object> hyphenatedword)
	  {
		stoplist[word] = hyphenatedword;
	  }