Skip to content

Commit

Permalink
Fix typos found by codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
hosiet committed Jan 21, 2018
1 parent cb0de29 commit 17ef8ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jieba/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def initialize(self, dictionary=None):
self.initialized = True
default_logger.debug(
"Loading model cost %.3f seconds." % (time.time() - t1))
default_logger.debug("Prefix dict has been built succesfully.")
default_logger.debug("Prefix dict has been built successfully.")

def check_initialized(self):
if not self.initialized:
Expand Down Expand Up @@ -272,7 +272,7 @@ def __cut_DAG(self, sentence):
def cut(self, sentence, cut_all=False, HMM=True):
'''
The main function that segments an entire sentence that contains
Chinese characters into seperated words.
Chinese characters into separated words.
Parameter:
- sentence: The str(unicode) to be segmented.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

setup(name='jieba',
version='0.39',
description='Chinese Words Segementation Utilities',
description='Chinese Words Segmentation Utilities',
long_description=LONGDOC,
author='Sun, Junyi',
author_email='[email protected]',
Expand Down

0 comments on commit 17ef8ab

Please sign in to comment.