Sign inSign up

springionic/pyhanlp

By springionic

•Updated almost 6 years ago

This image is based on python3.8 and jdk8.

Image
0

99

springionic/pyhanlp repository overview

⁠Introduction

The image help us to use python library pyhanlp. It is based on python:3.8.1-buster, and add openjdk-8-jdk in order keep it running. If you want to add custom dictionary, please update the pyhanlp configure file and import your dataset. The pyhanlp config file is in /usr/local/lib/python3.8/site-packages/pyhanlp/static/hanlp.properties, and the custom dataset is in /usr/local/lib/python3.8/site-packages/pyhanlp/static/data/dictionary/custom. More information on custom data sets please refer to pyhanlpdocumen and Google.

⁠v1.0

Added custom medical data set. (添加了医学方面的自定义词典)

part of speechmeaningchinese
partbody part身体部位
checkcheck item检查项
diseasedisease name疾病
drugdrug name药品名
operationoperation name手术名
symptomsymptom name症状
⁠v1.1

Original, no custom dictionary. (纯净无自定义词典)

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

almost 6 years ago

docker pull springionic/pyhanlp:v1.0