├── .github └── workflows │ ├── go.yml │ └── golangci-lint.yml ├── .gitignore ├── LICENSE ├── bot ├── adapters │ ├── input │ │ └── inputadapter.go │ ├── logic │ │ ├── closestmatch.go │ │ ├── combomatch.go │ │ └── logicadapter.go │ ├── output │ │ └── outputadapter.go │ └── storage │ │ ├── gobstorage.go │ │ ├── memorystorage.go │ │ ├── separatedmemorystorage.go │ │ └── storageadapter.go ├── chatbot.go ├── corpus │ └── corpus.go ├── nlp │ ├── comparisons.go │ └── sentencedetect.go └── trainers.go ├── cli ├── ask │ └── ask.go ├── etc │ ├── dict.txt │ ├── idf.txt │ └── stop_words.txt └── train │ └── train.go ├── go.mod ├── go.sum ├── readme-cn.md └── readme.md /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/.github/workflows/golangci-lint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/LICENSE -------------------------------------------------------------------------------- /bot/adapters/input/inputadapter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/adapters/input/inputadapter.go -------------------------------------------------------------------------------- /bot/adapters/logic/closestmatch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/adapters/logic/closestmatch.go -------------------------------------------------------------------------------- /bot/adapters/logic/combomatch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/adapters/logic/combomatch.go -------------------------------------------------------------------------------- /bot/adapters/logic/logicadapter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/adapters/logic/logicadapter.go -------------------------------------------------------------------------------- /bot/adapters/output/outputadapter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/adapters/output/outputadapter.go -------------------------------------------------------------------------------- /bot/adapters/storage/gobstorage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/adapters/storage/gobstorage.go -------------------------------------------------------------------------------- /bot/adapters/storage/memorystorage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/adapters/storage/memorystorage.go -------------------------------------------------------------------------------- /bot/adapters/storage/separatedmemorystorage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/adapters/storage/separatedmemorystorage.go -------------------------------------------------------------------------------- /bot/adapters/storage/storageadapter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/adapters/storage/storageadapter.go -------------------------------------------------------------------------------- /bot/chatbot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/chatbot.go -------------------------------------------------------------------------------- /bot/corpus/corpus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/corpus/corpus.go -------------------------------------------------------------------------------- /bot/nlp/comparisons.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/nlp/comparisons.go -------------------------------------------------------------------------------- /bot/nlp/sentencedetect.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/nlp/sentencedetect.go -------------------------------------------------------------------------------- /bot/trainers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/bot/trainers.go -------------------------------------------------------------------------------- /cli/ask/ask.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/cli/ask/ask.go -------------------------------------------------------------------------------- /cli/etc/dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/cli/etc/dict.txt -------------------------------------------------------------------------------- /cli/etc/idf.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/cli/etc/idf.txt -------------------------------------------------------------------------------- /cli/etc/stop_words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/cli/etc/stop_words.txt -------------------------------------------------------------------------------- /cli/train/train.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/cli/train/train.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/go.sum -------------------------------------------------------------------------------- /readme-cn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/readme-cn.md -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevwan/chatbot/HEAD/readme.md --------------------------------------------------------------------------------