Comments (2)
@xuqiang , 目前没有。你可以先看看代码,100行左右。 就是修改了viterbi算法中的状态到字符的发射概率的计算方法,把它改为用NB去估计,估计的时候考虑了了当前字符周围的字符。
训练程序:https://github.com/fxsjy/miniseg/blob/master/train/train_bayes_model.py
分词程序:https://github.com/fxsjy/miniseg/blob/master/miniseg/__init__.py
from miniseg.
多谢,我先看看代码
谢谢
许强
在 2013年6月17日下午1:16,Sun Junyi [email protected]写道:
@xuqiang https://github.com/xuqiang , 目前没有。你可以先看看代码,100行左右。
就是修改了viterbi算法中的状态到字符的发射概率的计算方法,把它改为用NB去估计,估计的时候考虑了了当前字符周围的字符。训练程序:
https://github.com/fxsjy/miniseg/blob/master/train/train_bayes_model.py
分词程序:https://github.com/fxsjy/miniseg/blob/master/miniseg/__init__.py—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-19526636
.
许强
from miniseg.
Related Issues (2)
- 训练用的语料哪里来的? HOT 1
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 miniseg.