Skip to main content

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

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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page