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

shouldGenerateParts() private method

Determines whether a word/number part should be generated for a word of the given type
private shouldGenerateParts ( int wordType ) : bool
wordType int Type of the word used to determine if a word/number part should be generated
return bool
	  private bool shouldGenerateParts(int wordType)
	  {
		return (has(GENERATE_WORD_PARTS) && isAlpha(wordType)) || (has(GENERATE_NUMBER_PARTS) && isDigit(wordType));
	  }