This image is based on python3.8 and jdk8.
99
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.
Added custom medical data set. (添加了医学方面的自定义词典)
| part of speech | meaning | chinese |
|---|---|---|
| part | body part | 身体部位 |
| check | check item | 检查项 |
| disease | disease name | 疾病 |
| drug | drug name | 药品名 |
| operation | operation name | 手术名 |
| symptom | symptom name | 症状 |
Original, no custom dictionary. (纯净无自定义词典)
Content type
Image
Digest
Size
1.2 GB
Last updated
almost 6 years ago
docker pull springionic/pyhanlp:v1.0