Skip to main content

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


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 details)

Uploaded Source

File details

Details for the file cn_detect-1.1.0.tar.gz.

File metadata

  • Download URL: cn_detect-1.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.8

File hashes

Hashes for cn_detect-1.1.0.tar.gz
Algorithm Hash digest
SHA256 2b4e1cd0d2a4adc9a75051deef68127627fcf0332abd61a63888c0de44ab667f
MD5 5cea8cc02fa3a0101c4d8e4fa200544f
BLAKE2b-256 505889e634bd7408ce5671f498e6562e8185c0d95173ca4cce9b7b029b30e7bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page