cjk

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const AnalyzerName = "cjk"
View Source
const BigramName = "cjk_bigram"
View Source
const WidthName = "cjk_width"

Variables

This section is empty.

Functions

func AnalyzerConstructor

func AnalyzerConstructor(config map[string]interface{}, cache *registry.Cache) (*analysis.Analyzer, error)

func CJKBigramFilterConstructor

func CJKBigramFilterConstructor(config map[string]interface{}, cache *registry.Cache) (analysis.TokenFilter, error)

func CJKWidthFilterConstructor added in v0.3.0

func CJKWidthFilterConstructor(config map[string]interface{}, cache *registry.Cache) (analysis.TokenFilter, error)

Types

type CJKBigramFilter

type CJKBigramFilter struct {
	// contains filtered or unexported fields
}

func NewCJKBigramFilter

func NewCJKBigramFilter(outputUnigram bool) *CJKBigramFilter

func (*CJKBigramFilter) Filter

type CJKWidthFilter added in v0.3.0

type CJKWidthFilter struct{}

func NewCJKWidthFilter added in v0.3.0

func NewCJKWidthFilter() *CJKWidthFilter

func (*CJKWidthFilter) Filter added in v0.3.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL