]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
13
authorqydysky <qydysky@foxmail.com>
Thu, 17 Sep 2020 00:16:43 +0000 (08:16 +0800)
committerqydysky <qydysky@foxmail.com>
Thu, 17 Sep 2020 00:16:43 +0000 (08:16 +0800)
F.go

diff --git a/F.go b/F.go
index 8766d05c1871cec1e5ed68b9c85e94be701d829b..b398b889757a2d1397ebf511a17f41cfd10817c3 100644 (file)
--- a/F.go
+++ b/F.go
@@ -167,4 +167,11 @@ func cross(a string,buf []string) (float32) {
                if matched {s += 1}
        }
        return s / float32(len(a))
-}
\ No newline at end of file
+}
+
+/*
+       Moredanmu
+       目标:弹幕机自动发送弹幕
+       原理:留存弹幕,称为buf。将当前若干弹幕在buf中的位置找出,根据位置聚集情况及该位置出现语句的频率,选择发送的弹幕
+*/
+type Moredanmu struct {}