hr

package
v2.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const AnalyzerName = "hr"
View Source
const StemmerName = "stemmer_hr"
View Source
const StopName = "stop_hr"
View Source
const SuffixTransformationFilterName = "hr_suffix_transformation_filter"

Variables

View Source
var CroatianStopWords = []byte(`biti
jesam
budem
sam
jesi
budeš
si
jesmo
budemo
smo
jeste
budete
ste
jesu
budu
su
bih
bijah
bjeh
bijaše
bi
bje
bješe
bijasmo
bismo
bjesmo
bijaste
biste
bjeste
bijahu
biste
bjeste
bijahu
bi
biše
bjehu
bješe
bio
bili
budimo
budite
bila
bilo
bile
ću
ćeš
će
ćemo
ćete
želim
želiš
želi
želimo
želite
žele
moram
moraš
mora
moramo
morate
moraju
trebam
trebaš
treba
trebamo
trebate
trebaju
mogu
možeš
može
možemo
možete
za
`)
View Source
var SuffixTransformations = map[string]string{}/* 128 elements not displayed */

Functions

func AnalyzerConstructor

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

func CroatianStemmerFilterConstructor

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

func StopTokenFilterConstructor

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

func SuffixTransformationFilterConstructor

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

func TokenMapConstructor

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

Types

type CroatianStemmerFilter

type CroatianStemmerFilter struct{}

func NewCroatianStemmerFilter

func NewCroatianStemmerFilter() *CroatianStemmerFilter

func (*CroatianStemmerFilter) Filter

type SuffixTransformationFilter

type SuffixTransformationFilter struct{}

func NewSuffixTransformationFilter

func NewSuffixTransformationFilter() *SuffixTransformationFilter

func (*SuffixTransformationFilter) Filter

Jump to

Keyboard shortcuts

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