[DAY 30]铁人赛完赛结语

今天是铁人赛最後一天

我把之前所整理的资料来源一并附上

有些功能其实已经想好大概怎麽实现了,但在30天内其实有点赶所以我没放上

像是将讯息透过词向量的方式进行主题分类并推荐该主题的攻略网站

然後这是我的github连结

目前程序码还在整理中,会不定时更新~

如果有人玩FF14刚好是在Gungnir服务器的话,也欢迎来我们公会discord串场,不是的话好像也没关系~

公会discord连结

raw data

https://github.com/thewakingsands/ffxiv-datamining-cn

https://github.com/xivapi/ffxiv-datamining/tree/master/research

https://githubmemory.com/repo/karashiiro/xiv-resources

功略网

https://ff14.org/topic/relic.htm

https://kknews.cc/zh-tw/home/qn6p4pg.html

discord

Discord Commands: List of the most useful Discord commands and how to use them‍

【Proladon】如何看懂官方 Discord API 文件 (Python)

https://realpython.com/how-to-make-a-discord-bot-python/

https://hackmd.io/@kangjw/Discordpy%E6%A9%9F%E5%99%A8%E4%BA%BA%E5%BE%9E0%E5%88%B01%E8%B6%85%E8%A9%B3%E7%B4%B0%E6%95%99%E5%AD%B8

embed
https://python.plainenglish.io/send-an-embed-with-a-discord-bot-in-python-61d34c711046

om_member_join问题
https://www.coder.work/article/5001071

reply user message
https://github.com/Rapptz/discord.py/blob/master/examples/reply.py

按钮样板
https://stackoverflow.com/questions/67722188/add-button-components-to-a-message-discord-py

FF14 API

https://github.com/xivapi/xivapi-py
https://xivapi.com/docs

时间转换

Python3 取得现在时间,设定台湾时区

actree安装问题

https://blog.csdn.net/Airstudy/article/details/112506317?utm_medium=distribute.pc_r[…]efault~baidujs_title~default-0.control&spm=1001.2101.3001.4242

import ahocorasick

def build_actree(wordlist):
    actree = ahocorasick.Automaton()
    for index,word in enumerate(wordlist):
        actree.add_word(str(word), (index, str(word)))
    actree.make_automaton()
    return actree


if __name__ == '__main__':
    #招待码
    test_list = ["坐骑","任务","军团"]
    send = "请问军团相关资讯"
    actree = build_actree(wordlist=test_list)
    send_list = [i[1][1] for i in actree.iter(send)]

拍卖查询

串universalis API写法
https://gitlab.com/omniowl-public/borel/-/blob/master/market_board.py

API资料return结果(json格式)
12531为物品ID
https://universalis.app/api/Elemental/12531?entries=5

词向量、主题模型

https://www.kaggle.com/jerrykuo7727/word2vec

感谢各位有在看我文章的人,明年如果再被抓去参加铁人赛的话再见啦^^


<<:  [Day30] 让自己过得爽,才是好主管

>>:  JavaScript函式

Day21 探讨setting(3)

昨天我们已经介绍到ALLOW_HOSTS了,那我们今天就继续介绍吧! 下一个我们看到的是INSTAL...

[C# Winform] MDI 多重视窗操作-如何避免重复开启

在开发 WinForm 程序时,有一种常见的设计版面是多重视窗(MDI)。 所谓的多重视窗(MDI)...

转行的探索跟可以闪开的思考误区

早起运动30分钟Day1 今天一边运动,一边听《转行》这本书。里面提到几个我喜欢的观点。 “我们都以...

Mikrotik RouterOS从入门到实战系列-Mikrotik入门第四课

Mikrotik RouterOS从入门到实战系列-Mikrotik入门第四课 VPN详解与实战应用...

RISC-V: 妈,我把脏脏的扣变成 CPU 的形状了!

有看月球转运站的夥伴应该有发现, 随着开发的进展,程序码已经变得有点不好看了。 今天就来对这段程序码...