Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大概怎么样使用? #3

Open
luoyexuge opened this issue Aug 27, 2018 · 1 comment
Open

大概怎么样使用? #3

luoyexuge opened this issue Aug 27, 2018 · 1 comment

Comments

@luoyexuge
Copy link

我看了下代码,不知道我理解的对不对,首先用语料训练一个语言模型,然后再实现拼写纠错,还是希望readme写详细点?

@zhangsonglei
Copy link
Owner

是的,先是根据分词或者bigram词典确定句子中的错字位置,再根据混淆集中该错字的所有候选字替换该错字,替换后根据语言模型,噪音信道模型计算新句子的得分,选取使句子得分最高的候选字作为正确的字。谢谢宝贵的建议

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants