pipidog / cnlp Goto Github PK
View Code? Open in Web Editor NEWA toolbox for Chinese Natural Language Processing
A toolbox for Chinese Natural Language Processing
執行的時候 line 85 error : keyError: 0
應該要改成
padding_size = model.get_config()['layers'][0]['config']['batch_input_shape'][1]
你好~
在ex_stat.py執行程式碼的時候發現選出來的高頻字都是亂碼的中文字 銝 鈭 摨...等等
試了很多方法都不知道怎麼改成utf-8
由於兩個txt都放在array裡,stat_files = ['neg_clean.txt','pos_clean.txt']
原本想用
stat_files1 = open('neg_clean.txt', "r",encoding="utf-8")
stat_files2 = open('pos_clean.txt', "r",encoding="utf-8")
的方式,但這樣有太多程式碼要改了
不知道有沒有解決辦法?
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.