speaker

package
v0.0.0-...-ce71dfa Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2012 License: BSD-2-Clause-Views Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Speaker

type Speaker struct {
	NounsToVerbs map[string]interface{}
	Has          func(string, string) bool
	Fallback     string
}

func New

func New(a func(string, string) bool, b map[string]interface{}) *Speaker

func (*Speaker) IsNoun

func (t *Speaker) IsNoun(a string) bool

func (*Speaker) NounHasVerb

func (t *Speaker) NounHasVerb(noun, verb string) bool

func (*Speaker) VerbLocation

func (t *Speaker) VerbLocation(noun, verb string) string

Jump to

Keyboard shortcuts

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