worker

package
v0.0.0-...-abc66c6 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//None indicates no IPA Type
	None ipaTypeEnum = iota + 1
	//WordOne - string is one word
	WordOne
	//WordMultiple - string is made from multiple words
	WordMultiple
	//SepClitic - separator for clitics
	SepClitic
)

Variables

This section is empty.

Functions

func NewAccentuator

func NewAccentuator(urlStr string) (process.Processor, error)

NewAccentuator creates new processor

func NewCleaner

func NewCleaner() process.Processor

NewCleaner makes new text clean processor

func NewClitics

func NewClitics(urlStr string) (process.Processor, error)

NewClitics creates new processor

func NewResultMaker

func NewResultMaker() process.Processor

NewResultMaker makes preocessor for result construction

func NewTagger

func NewTagger(urlStr string) (process.Processor, error)

NewTagger creates new processor

func NewToIPA

func NewToIPA(urlStr string) (process.Processor, error)

NewToIPA creates new processor

func NewTranscriber

func NewTranscriber(urlStr string) (process.Processor, error)

NewTranscriber creates new processor

Types

type HTTPInvoker

type HTTPInvoker interface {
	InvokeText(string, interface{}) error
}

HTTPInvoker makes http call

type HTTPInvokerJSON

type HTTPInvokerJSON interface {
	InvokeJSON(interface{}, interface{}) error
}

HTTPInvokerJSON invoker for json input

type TaggedWord

type TaggedWord struct {
	Type   string
	String string
	Mi     string
	Lemma  string
}

TaggedWord - tagger's result

Jump to

Keyboard shortcuts

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