Skip to content

百度NLP:分词,词性标注,命名实体识别,词重要性的docker布署文件

Notifications You must be signed in to change notification settings

zzerding/baidu-lac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baidu-lac

百度NLP:分词,词性标注,命名实体识别,词重要性的docker布署文件;集成flask genven

[toc]

install

1. install docker and docker-compose

2. download docker-compose.yml ,you can select wget or git

3. build and start

  • docker-compose up -d

http post

METHOD:POST, {text:"seg text",password:"zzerd.com"}

  • 127.0.0.1:3001/seg

  • 127.0.0.1:3001/lac

  • 127.0.0.1:3001/rank

  • curl -d'text=hello baidu lac&&password=zzerd.com' 127.0.0.1:3001/reg

change listen ip address and port

  • change docker_compose.yml GEVENT_ADDRESS=0.0.0.0 ,GEVENT_PORT=3001 ,PASSWORD=zzerd.com

About

百度NLP:分词,词性标注,命名实体识别,词重要性的docker布署文件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published