chinese

package
v0.0.0-...-036093c Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2016 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Chinese language model

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(t *telegram.Telegram, config map[string]interface{}, modules map[string]bool, cmds *types.CommandMap) types.Command

Types

type Chinese

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

func (*Chinese) Answer

func (this *Chinese) Answer(text string, id int64) string

func (*Chinese) Command

func (this *Chinese) Command(name string, msg telegram.TObject, args []string)

func (*Chinese) Default

func (this *Chinese) Default(name string, msg telegram.TObject, state *map[string]interface{})

func (*Chinese) Learn

func (this *Chinese) Learn(text string, id int64)

func (*Chinese) Speak

func (this *Chinese) Speak(id int64) string

Jump to

Keyboard shortcuts

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