classifier

package
v0.0.0-...-31e2f79 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Classifier

type Classifier interface {
	Classify(in string) []string
	Close() error
}

func NewStrictFromFile

func NewStrictFromFile(filename string) (Classifier, error)

type Config

type Config struct {
	Name string
	File string
}

type Factory

type Factory interface {
	GetClassifier(name string) (Classifier, error)
	Close() error
}

func NewFactory

func NewFactory(cfg []Config) Factory

Jump to

Keyboard shortcuts

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