org.apache.lucene.analysis.miscellaneous.Lucene47WordDelimiterFilter.shouldConcatenate C# (CSharp) Method

shouldConcatenate() private method

Determines whether to concatenate a word or number if the current word is the given type
private shouldConcatenate ( int wordType ) : bool
wordType int Type of the current word used to determine if it should be concatenated
return bool
	  private bool shouldConcatenate(int wordType)
	  {
		return (has(CATENATE_WORDS) && isAlpha(wordType)) || (has(CATENATE_NUMBERS) && isDigit(wordType));
	  }