Skip to main content

Python wrapper for pykaiutils: python开发中常用的代码结构库

Project description

1.启动bert-as-service

架构图: https://www.processon.com/view/link/610b87805653bb143a2992eb

文件结构: data:数据文件 56nation.txt : 56个民族 (因为有个别县有包括民族)

安装环境: pip install --user python==3.6.10 pip install --user tensorflow==1.10.0 pip install bert-serving-server #服务端 pip install bert-serving-client #客户端

安装包: jieba 0.39 numpy 1.14.5 xpinyin 0.7.6 pymongo 3.12.0 pandas 0.23.0

启动: bert-serving-start -model_dir E:/chinese_L-12_H-768_A-12/ -num_worker=1 bert-serving-start -model_dir E:/Python_project/kashgari_ner_863/chinese_L-12_H-768_A-12/ -num_worker=1

部署: python qcc_bus_poi_match.py -cityname=佛山市

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

pykaiutils-0.0.2.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file pykaiutils-0.0.2.tar.gz.

File metadata

  • Download URL: pykaiutils-0.0.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.5

File hashes

Hashes for pykaiutils-0.0.2.tar.gz
Algorithm Hash digest
SHA256 015b87a1510843c3cdabedf7c1929d033315f0001d75998b70b8eed2bf37856b
MD5 8b2257e3db2a7ae515e567acef706461
BLAKE2b-256 16eb450f4c74c673e123a82c7e1d3cdc205eca2543732388fe0c071c8d5ee76d

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