Skip to content

Commit

Permalink
modify module name && thanks for the author @kevwan
Browse files Browse the repository at this point in the history
  • Loading branch information
TsaoLun committed Aug 14, 2023
1 parent 406218e commit c5bba65
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions bot/adapters/logic/closestmatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"math"
"sort"

"github.com/kevwan/chatbot/bot/adapters/storage"
"github.com/kevwan/chatbot/bot/nlp"
"github.com/tsaolun/chatbot/bot/adapters/storage"
"github.com/tsaolun/chatbot/bot/nlp"
"github.com/zeromicro/go-zero/core/mr"
)

Expand Down
2 changes: 1 addition & 1 deletion bot/adapters/storage/separatedmemorystorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/gob"
"os"

"github.com/kevwan/chatbot/bot/nlp"
"github.com/tsaolun/chatbot/bot/nlp"
)

type separatedMemoryStorage struct {
Expand Down
8 changes: 4 additions & 4 deletions bot/chatbot.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"runtime"
"time"

"github.com/kevwan/chatbot/bot/adapters/input"
"github.com/kevwan/chatbot/bot/adapters/logic"
"github.com/kevwan/chatbot/bot/adapters/output"
"github.com/kevwan/chatbot/bot/adapters/storage"
"github.com/tsaolun/chatbot/bot/adapters/input"
"github.com/tsaolun/chatbot/bot/adapters/logic"
"github.com/tsaolun/chatbot/bot/adapters/output"
"github.com/tsaolun/chatbot/bot/adapters/storage"
)

const mega = 1024 * 1024
Expand Down
4 changes: 2 additions & 2 deletions bot/trainers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"strings"

"github.com/kevwan/chatbot/bot/adapters/storage"
"github.com/kevwan/chatbot/bot/corpus"
"github.com/tsaolun/chatbot/bot/adapters/storage"
"github.com/tsaolun/chatbot/bot/corpus"
)

type (
Expand Down
6 changes: 3 additions & 3 deletions cli/ask/ask.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"time"

"github.com/kevwan/chatbot/bot"
"github.com/kevwan/chatbot/bot/adapters/logic"
"github.com/kevwan/chatbot/bot/adapters/storage"
"github.com/tsaolun/chatbot/bot"
"github.com/tsaolun/chatbot/bot/adapters/logic"
"github.com/tsaolun/chatbot/bot/adapters/storage"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cli/train/train.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"path/filepath"
"strings"

"github.com/kevwan/chatbot/bot"
"github.com/kevwan/chatbot/bot/adapters/storage"
"github.com/tsaolun/chatbot/bot"
"github.com/tsaolun/chatbot/bot/adapters/storage"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/kevwan/chatbot
module github.com/tsaolun/chatbot

go 1.17

Expand Down
2 changes: 1 addition & 1 deletion readme-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

## 数据格式

数据格式可以通过 `yaml` 或者 `json` 文件提供,参考 `https://github.com/kevwan/chatterbot-corpus` 里的格式。大致如下:
数据格式可以通过 `yaml` 或者 `json` 文件提供,参考 `https://github.com/tsaolun/chatterbot-corpus` 里的格式。大致如下:

```yaml
categories:
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ English | [简体中文](readme-cn.md)

## Data format

The data format can be provided via `yaml` or `json` files, refer to the format in `https://github.com/kevwan/chatterbot-corpus`. Roughly, it is as follows.
The data format can be provided via `yaml` or `json` files, refer to the format in `https://github.com/tsaolun/chatterbot-corpus`. Roughly, it is as follows.

```yaml
categories:
Expand Down

0 comments on commit c5bba65

Please sign in to comment.