Lucene.Net.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));
        }