example_feature

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractHostFeature

func ExtractHostFeature(urlString string) string

func ExtractJpnNounFeatures

func ExtractJpnNounFeatures(s string, prefix string) feature.FeatureVector

func ExtractJpnNounFeaturesWithoutPrefix

func ExtractJpnNounFeaturesWithoutPrefix(s string) feature.FeatureVector

func ExtractNounFeatures

func ExtractNounFeatures(s string, prefix string) feature.FeatureVector

func ExtractNounFeaturesWithoutPrefix

func ExtractNounFeaturesWithoutPrefix(s string) feature.FeatureVector

func ExtractPath

func ExtractPath(urlString string) string

func GetEnglishTagger

func GetEnglishTagger() *tag.PerceptronTagger

func GetEnglishTokenizer

func GetEnglishTokenizer() *tokenize.TreebankWordTokenizer

func GetJapaneseTokenizer

func GetJapaneseTokenizer() *tokenizer.Tokenizer

func IsExcludingWord

func IsExcludingWord(w string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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