harveyaot / dianjing Goto Github PK
View Code? Open in Web Editor NEW点睛 - 头条号文章标题生成工具 (Dianjing, AI to write Title for Articles)
License: MIT License
点睛 - 头条号文章标题生成工具 (Dianjing, AI to write Title for Articles)
License: MIT License
您好!
在做一个类似项目,在分完词后发现有很多时间和数字的word
想到的处理方法是这样的:
无论在training还是predict都将所有数字和时间标注为特殊字符,如果predict的结果有特殊字符则使用者自行替换。
def getAsCp():
t = int(math.floor(time.time()))
e = hex(t).upper()[2:]
m = hashlib.md5()
m.update(str(t).encode(encoding='utf-8'))
i = m.hexdigest().upper()
if len(e) != 8:
AS = '479BB4B7254C150'
CP = '7E0AC8874BB0985'
return AS, CP
n = i[0:5]
a = i[-5:]
s = ''
r = ''
for o in range(5):
s += n[o] + e[o]
r += e[o + 3] + a[o]
AS = 'A1' + s + e[-3:]
CP = e[0:3] + r + 'E1'
return {'as': AS, 'cp': CP}
一份large data set 包含 700k左右的training 样本, 将稍候公开 (ETA Mar. 2018)
我想向您索要这个大语料,能共享一下吗?
我的邮箱:[email protected] 谢谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.