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

hyphenate() public method

Hyphenate word and return a Hyphenation object.
public hyphenate ( string word, int remainCharCount, int pushCharCount ) : Hyphenation
word string the word to be hyphenated
remainCharCount int Minimum number of characters allowed before the /// hyphenation point.
pushCharCount int Minimum number of characters allowed after the /// hyphenation point.
return Hyphenation
	  public virtual Hyphenation hyphenate(string word, int remainCharCount, int pushCharCount)
	  {
		char[] w = word.ToCharArray();
		return hyphenate(w, 0, w.Length, remainCharCount, pushCharCount);
	  }

Same methods

HyphenationTree::hyphenate ( char w, int offset, int len, int remainCharCount, int pushCharCount ) : Hyphenation