Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "edge_ngram"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EdgeNgramFilter ¶
type EdgeNgramFilter struct {
// contains filtered or unexported fields
}
func NewEdgeNgramFilter ¶
func NewEdgeNgramFilter(side Side, minLength, maxLength int) *EdgeNgramFilter
func (*EdgeNgramFilter) Filter ¶
func (s *EdgeNgramFilter) Filter(input analysis.TokenStream) analysis.TokenStream
Click to show internal directories.
Click to hide internal directories.