Comments (11)
有什么错误么?
from dict_build.
运行的时候没有提示错误,很快就运行完了,语料是网上下载的西游记txt,编码为utf-8
gen sorting...
2017-05-16 14:03:32 [main] INFO dict.build.FastBuilder -start to extract words
sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@735b478
2017-05-16 14:03:32 [main] INFO dict.build.FastBuilder -build freq TST done!
2017-05-16 14:03:32 [main] INFO dict.build.FastBuilder -start to sort extracted words
2017-05-16 14:03:32 [main] INFO dict.build.FastBuilder -all done
from dict_build.
你用的是哪个代码?直接打包的还是? 看日志不是最新的代码
from dict_build.
直接打包到本地mac上,解压之后运行的,我又下载了最新的代码,wordsort.data和word.data还是空的。
2017-05-16 14:25:58 [main] INFO dict.build.FastBuilder -start to extract words
sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@735b478
2017-05-16 14:25:58 [main] INFO dict.build.FastBuilder -build freq TST done!
2017-05-16 14:25:58 [main] INFO dict.build.FastBuilder -start to sort extracted words
2017-05-16 14:25:58 [main] INFO dict.build.FastBuilder -all done
这是日志
from dict_build.
freqFile 这个文件有内容么
from dict_build.
你在哪里下载的文件我试试。
from dict_build.
就是直接右上角download的啊,freq_ngram.data有内容,其他没有
from dict_build.
你的测试的数据文件,哪里下载的,我试试
from dict_build.
http://vdisk.weibo.com/s/uoJsvagtvev8U
from dict_build.
文件编码,不是UTF8. 下载这个:西游记UTF8。
Top结果
师父 1545 7.247927513443586 3.527650290469952 0.1371395690812608
大圣 1047 6.426264754702098 2.5456136550742494 0.13128460061010055
唐僧 971 6.832890014164742 3.930083100341155 0.43277723258096173
我们 685 5.044394119358453 2.7293239374235605 0.5335176226675881
菩萨 607 9.364134655008051 3.4676913766943906 0.15910495734948696
妖精 604 6.894817763307944 2.955584582292545 0.13134411600669268
见那 438 3.1699250014423126 2.688761729223144 0.11444652908067542
徒弟 407 7.774787059601174 2.3951170564332958 0.15553809897879026
小妖 348 5.584962500721157 2.939566615637408 0.3392018779342723
一声 307 4.08746284125034 2.269805525984046 0.2674922938432581
from dict_build.
好了,是文件的问题,太感谢了。
from dict_build.
Related Issues (20)
- 能不能讲解下您这个算法的思路? HOT 1
- 输出结果分别代表什么意思 HOT 4
- 应该直接引入停词库 HOT 1
- 请问一下第五列位置成词概率是怎么算出来的? HOT 11
- 左右信息熵计算问题 HOT 3
- windows HOT 2
- 为什么提取出来的结果都是空的? HOT 6
- words_sort.data 无结果 HOT 20
- linux和windows同样数据跑的结果不一样 HOT 2
- 关于 pmi 的计算 HOT 8
- words.data和words_sort.data为空 HOT 5
- 最终的排序只按词频合理吗 HOT 7
- 小白问下第三步什么意思啊,点开后直接闪退 HOT 1
- 设备上没有空间 HOT 5
- words.data和words_sort.data为空的问题已解决。并在win mac linux上测试 HOT 1
- total 与freq的计算问题 HOT 4
- 关于 isChinese 的字符编码范围 HOT 1
- 请问怎么用gradle编译的 HOT 2
- 抽取结果与示例不太一致 HOT 4
- found a boundary condition problem HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dict_build.