acronyms

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Acronyms

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

Acronyms keeps acronyms processor

func New

func New(r io.Reader) (*Acronyms, error)

New will instantiate aa acronyms processor

func (*Acronyms) Process

func (s *Acronyms) Process(word, mi string) ([]api.ResultWord, error)

Process returns the next random saying

type Letters

type Letters struct {
}

Letters processes letter abbreviation

func NewLetters

func NewLetters() (*Letters, error)

NewLetters will instantiate a abbreviation processor

func (*Letters) Process

func (s *Letters) Process(word, mi string) ([]api.ResultWord, error)

Process returns the next random saying

type Processor

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

Processor processes word

func NewProcessor

func NewProcessor(acronyms, letters service.Worker) (*Processor, error)

NewProcessor will instantiate a processor

func (*Processor) Process

func (s *Processor) Process(word, mi string) ([]api.ResultWord, error)

Process process word

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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