Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
shibing624 committed Sep 13, 2023
2 parents c347230 + ea5e57e commit 751da4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# pycorrector: useful python text correction toolkit
[![PyPI version](https://badge.fury.io/py/pycorrector.svg)](https://badge.fury.io/py/pycorrector)
[![Downloads](https://pepy.tech/badge/pycorrector)](https://pepy.tech/project/pycorrector)
[![Downloads](https://static.pepy.tech/badge/pycorrector)](https://pepy.tech/project/pycorrector)
[![GitHub contributors](https://img.shields.io/github/contributors/shibing624/pycorrector.svg)](https://github.com/shibing624/pycorrector/graphs/contributors)
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
[![python_vesion](https://img.shields.io/badge/Python-3.6%2B-green.svg)](requirements.txt)
Expand Down
2 changes: 1 addition & 1 deletion pycorrector/ernie_csc/ernie_csc_corrector.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


class ErnieCSCCorrector(object):
def __init__(self, model="csc-ernie-1.0"):
def __init__(self, model="ernie-csc"):
self.text_correction = Taskflow("text_correction", model=model)

def ernie_csc_correct(self, text):
Expand Down

0 comments on commit 751da4e

Please sign in to comment.