Comments (2)
rnn模型作为语言模型,只是一个句子似然概率判断的手段,无法直接端到端作为文本纠错的模型。判断错别字的概率是根据该字在句子中结合上下文判断得到的一个似然概率,我在代码中有用到一个绝对方差的方法给出的。如果你对rnn模型做纠错感兴趣,推荐一篇论文里可以参考一下:context2vec,和 https://www.isca-speech.org/archive/SLaTE_2017/pdfs/SLaTE_2017_paper_5.pdf ,附上我的一些零碎的笔记:https://blog.csdn.net/mingzai624/article/details/82809968。 希望可以帮到你,如果你有其他其他更好的方法找到错字位置,有更好的准召率,欢迎交流。
from pycorrector.
多谢
from pycorrector.
Related Issues (20)
- Macbert怎么导入本地模型? HOT 3
- 使用macbert时输入的参数中有空格,会导致无法成功纠错。使用T5时就可以成功纠错 HOT 1
- 请问“的地得”纠错有什么好的方法 HOT 3
- 模型文件路径问题 HOT 7
- does not appear to have a file named config.json HOT 2
- T5Corrector' object has no attribute 'batch_t5_correct' HOT 2
- 最新版本pycorrector导入不了config HOT 1
- 现在使用给定的数据基进行训练,后期我想自己寻找其他的数据集训练 HOT 1
- 使用pip install -U pycorrector安装pycorrector最新版本后,测试运行报错 HOT 1
- Tokenizer类实现问题 HOT 2
- T5模型预测的时候一直为0 HOT 3
- 请问针对非对称长度的文本纠错(冗余、缺失等),评估指标应该选哪些呢? HOT 1
- 能否更新下docker HOT 1
- 新版本macbert4csc中ConfusionCorrector实现逻辑问题 HOT 2
- AttributeError: 'bert' object has no attribute 'save_pretrained'
- ValueError: Expected input batch_size (2400) to match target batch_size (2304) HOT 7
- 可以基于你发布的hf的模型再训练吗? HOT 5
- 现在大模型+prompt效果就特别好
- 指定纠错 HOT 2
- 如何提升检出率 HOT 6
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 pycorrector.