func New(threshold int, load loader.Loader) (f *Filter, err error) {
	kws, sbs, err := load.Load()
	if err != nil {
		return
	}
	f = &Filter{
		word:      &Word{lk: new(sync.RWMutex)},
		symb:      &symbols{lk: new(sync.RWMutex)},
		Threshold: threshold,
	}
	f.AddWords(kws)
	f.AddSymbs(sbs)
	return
}
New a Filter
package filter
import (
	"sync"
	"github.com/miraclesu/keywords-filter/keyword"
	"github.com/miraclesu/keywords-filter/listener"
	"github.com/miraclesu/keywords-filter/loader"
)
type Filter struct {
	word      *Word     
	symb      *symbols  
	Threshold int
}