func (a *Analyzer) Analyze(input string) []analysis.Term {
	terms := a.Tokenizer(input)
	for _, filter := range a.Filters {
		terms = applyFilter(filter, terms)
	}
	return terms
}
Analyze executes the analisis process and returns a list of terms
package analyzers
import (
	"github.com/dwayhs/go-search-engine/analysis"
	"github.com/dwayhs/go-search-engine/analysis/filters"
	"github.com/dwayhs/go-search-engine/analysis/tokenizers"
)
type Analyzer struct {
	Tokenizer tokenizers.Tokenizer
	Filters   []filters.Filter
}