Recognize Chinese Name of
Project description
Introduction
Install package
pip install cn_detect
Example Usage:
from cn_detect.detect import ChineseNameDetect
# Basic
detector = ChineseNameDetect()
detector.recognize_excel_by_column(excel_file_path='myfile.xlsx', column='Name')
# Use your own family name list, and the family_name_file must be *.txt file
detector = ChineseNameDetect(family_name_file='family_name.txt')
detector.recognize_excel_by_column(excel_file_path='myfile.xlsx', column='Name')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cn_detect-1.1.0.tar.gz
(4.2 kB
view hashes)