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.1.tar.gz (2.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pykaiutils-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 827023f82b50ab70e67715166fa1a0f82826f499fafdf23c1838e187cebe8564
MD5 f93a70ad095900a1871138f28385f54c
BLAKE2b-256 f63c45ff3208ee3c28bb5fb66fe8881be8903a73545bf1da499c01627c54eef0

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