func NewNodeFilter(text []string) DirtyFilter {
	nf := &nodeFilter{
		root: newNode(),
	}
	for i, l := 0, len(text); i < l; i++ {
		nf.addDirtyWords(text[i])
	}
	return nf
}
func NewNodeFilter(text []string) DirtyFilter {
	nf := &nodeFilter{
		root: newNode(),
	}
	for i, l := 0, len(text); i < l; i++ {
		nf.addDirtyWords(text[i])
	}
	return nf
}
func NewNodeFilter ( text [ ] string ) DirtyFilter { nf := & nodeFilter { root : newNode ( ) , } for i , l := 0 , len ( text ) ; i < l ; i ++ { nf . addDirtyWords ( text [ i ] ) } return nf }
// NewNodeFilter 创建节点过滤器，实现敏感词的过滤
// 从切片中读取敏感词数据
NewNodeFilter 创建节点过滤器，实现敏感词的过滤 从切片中读取敏感词数据