0.0.193
This commit is contained in:
parent
3eb199cbf0
commit
6ad0d78286
@ -1,4 +1,4 @@
|
|||||||
# API Reference shows all functions in Guan package. The current version is guan-0.0.192, updated on December 12, 2023.
|
# API Reference shows all functions in Guan package. The current version is guan-0.0.193, updated on December 12, 2023.
|
||||||
|
|
||||||
import guan
|
import guan
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
# replace with your username:
|
# replace with your username:
|
||||||
name = guan
|
name = guan
|
||||||
version = 0.0.192
|
version = 0.0.193
|
||||||
author = guanjihuan
|
author = guanjihuan
|
||||||
author_email = guanjihuan@163.com
|
author_email = guanjihuan@163.com
|
||||||
description = An open source python package
|
description = An open source python package
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 2.1
|
Metadata-Version: 2.1
|
||||||
Name: guan
|
Name: guan
|
||||||
Version: 0.0.192
|
Version: 0.0.193
|
||||||
Summary: An open source python package
|
Summary: An open source python package
|
||||||
Home-page: https://py.guanjihuan.com
|
Home-page: https://py.guanjihuan.com
|
||||||
Author: guanjihuan
|
Author: guanjihuan
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Guan is an open-source python package developed and maintained by https://www.guanjihuan.com/about (Ji-Huan Guan, 关济寰). The primary location of this package is on website https://py.guanjihuan.com. GitHub link: https://github.com/guanjihuan/py.guanjihuan.com.
|
# Guan is an open-source python package developed and maintained by https://www.guanjihuan.com/about (Ji-Huan Guan, 关济寰). The primary location of this package is on website https://py.guanjihuan.com. GitHub link: https://github.com/guanjihuan/py.guanjihuan.com.
|
||||||
|
|
||||||
# The current version is guan-0.0.192, updated on December 12, 2023.
|
# The current version is guan-0.0.193, updated on December 12, 2023.
|
||||||
|
|
||||||
# Installation: pip install --upgrade guan
|
# Installation: pip install --upgrade guan
|
||||||
|
|
||||||
@ -3595,6 +3595,7 @@ def check_Chinese_or_English(a):
|
|||||||
# 统计中英文文本的字数,默认不包括空格
|
# 统计中英文文本的字数,默认不包括空格
|
||||||
def count_words(text, include_space=0, show_words=0):
|
def count_words(text, include_space=0, show_words=0):
|
||||||
import jieba
|
import jieba
|
||||||
|
import guan
|
||||||
words = jieba.lcut(text)
|
words = jieba.lcut(text)
|
||||||
new_words = []
|
new_words = []
|
||||||
if include_space == 0:
|
if include_space == 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user