shibing624
commited on
Commit
•
8c30ebb
1
Parent(s):
e4d3c39
Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ pip install -U pycorrector
|
|
28 |
|
29 |
```python
|
30 |
from pycorrector import Corrector
|
31 |
-
model = Corrector(language_model_path='
|
32 |
print(model.correct('少先队员因该为老人让坐')) # ['少先队员应该为老人让座。']
|
33 |
```
|
34 |
|
|
|
28 |
|
29 |
```python
|
30 |
from pycorrector import Corrector
|
31 |
+
model = Corrector(language_model_path='people2014corpus_chars.klm')
|
32 |
print(model.correct('少先队员因该为老人让坐')) # ['少先队员应该为老人让座。']
|
33 |
```
|
34 |
|