func NewStandardAnalyzer() *StandardAnalyzer {
	return NewStandardAnalyzerWithStopWords(STOP_WORDS_SET)
}
/* Buils an analyzer with the default stop words (STOP_WORDS_SET).
package standard
import (
	. "github.com/balzaczyy/golucene/analysis/core"
	. "github.com/balzaczyy/golucene/analysis/util"
	. "github.com/balzaczyy/golucene/core/analysis"
	"io"
)
const DEFAULT_MAX_TOKEN_LENGTH = 255
var STOP_WORDS_SET = ENGLISH_STOP_WORDS_SET
type StandardAnalyzer struct {
	*StopwordAnalyzerBase
	stopWordSet    map[string]bool
	maxTokenLength int
}
func NewStandardAnalyzerWithStopWords(stopWords map[string]bool) *StandardAnalyzer {
	ans := &StandardAnalyzer{
		stopWordSet:    stopWords,
		maxTokenLength: DEFAULT_MAX_TOKEN_LENGTH,
	}
	ans.StopwordAnalyzerBase = NewStopwordAnalyzerBaseWithStopWords(stopWords)
	ans.Spi = ans
	return ans
}