Versions in this module Expand all Collapse all v0 v0.2.0 Jul 1, 2016 Changes in this version + var ErrNotFound = errors.New("couldn't extract requested type from string") + var Prepositions = map[string]struct + func Desserts() []string + func Restaurants() []string + func Transportation() []string v0.1.0 Mar 15, 2016 Changes in this version + var StopWords = []string + func Alcohol() []string + func AutomotiveBrands() []string + func Broken() []string + func Confused() string + func Contains(wordList []string, s string) bool + func ExtractAddress(db *sqlx.DB, u *dt.User, s string) (*dt.Address, bool, error) + func ExtractCities(db *sqlx.DB, in *dt.Msg) ([]dt.City, error) + func ExtractCount(s string) sql.NullInt64 + func ExtractCurrency(s string) sql.NullInt64 + func ExtractYesNo(s string) sql.NullBool + func Foods() []string + func Greeting(r *rand.Rand, name string) string + func Join(ss ...[]string) []string + func NiceMeetingYou() string + func No(s string) bool + func Positive() string + func Purchase() []string + func QuestionLocation(loc string) string + func Recommend() []string + func RemoveStopWords(ss []string) []string + func Repair() []string + func SliceToString(ss []string, andor string) string + func SuggestedPlace(s string) string + func SuggestedProduct(s string, num uint) string + func Vehicles() []string + func Welcome() string + func Yes(s string) bool