Comments (4)
d'd模型load已搞定,修改config.py中的language_model_path即可,词典还没搞懂。
from pycorrector.
数字可能是词频,n什么的代表词性。
from pycorrector.
词典来源于:https://github.com/NLPchina/ansj_seg/tree/master/library ,3 是数字,n是词性(代表名词词性)
from pycorrector.
暂时关闭,如有需求,feel free to reopen it, thx.
from pycorrector.
Related Issues (20)
- 使用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
- AttributeError: 'MacBertCorrector' object has no attribute 'correct_batch' HOT 3
- 使用T5进行检测
- 老师你好!关于数据集的问题 HOT 3
- 英文纠错en_spell_corrector.py的性能问题 HOT 1
- MacBert是否支持混淆集? HOT 1
- 请问在文本纠错时,可以设置置信度吗,或者可以返回置信度吗? HOT 1
- 训练MacBert4Csc时报错 HOT 1
- linux 环境下安装异常,求大佬帮忙看下 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 pycorrector.