# 中文 Duckling <img src="https://raw.githubusercontent.com/leovan/duckling-chinese/main/docs/images/logo.png" align="right" alt="logo" height="100" style="border: none; float: right; height: 100px;" />
![Version](https://img.shields.io/pypi/v/duckling-chinese)
![Python Versions](https://img.shields.io/pypi/pyversions/duckling-chinese)
![Duckling Core](https://img.shields.io/badge/Duckling_Core-1.6.4-blue)
![License](https://img.shields.io/pypi/l/duckling-chinese)
![Downloads](https://img.shields.io/pypi/dm/duckling-chinese)
---
## 简介
中文 Duckling (duckling-chinese) 是基于 Jpype1 的 [duckling-fork-chinese](https://github.com/XiaoMi/MiNLP/tree/main/duckling-fork-chinese) 的 Python 封装版本,提供例如时间、日期、数字等中文解析服务。
## 使用
中文 Duckling 利用 Jpype1 调用 duckling-fork-chinese,需要系统正确安装配置 JVM,再通过 `pip` 安装最新版本。
```
pip install duckling-chinese
```
具体使用方式详见文档:<https://duckling.leovan.tech>。
## 参考
Haskell 原始版本:[Duckling](https://github.com/facebook/duckling)
Scala 中文版本:[duckling-fork-chinese](https://github.com/XiaoMi/MiNLP/tree/main/duckling-fork-chinese)
## 许可
The MIT License (MIT)
版权所有 © 2023-2024,<a href="https://leovan.me" target="_blank">范叶亮 | Leo Van</a>
Raw data
{
"_id": null,
"home_page": null,
"name": "duckling-chinese",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "duckling, chinese, nlp",
"author": null,
"author_email": "\u8303\u53f6\u4eae <leo-van@hotmail.com>",
"download_url": "https://files.pythonhosted.org/packages/1e/24/f29581f42e8c5ac60a9fe3de07393392d187c2da21253d8af40571b14a39/duckling_chinese-1.1.6.tar.gz",
"platform": null,
"description": "# \u4e2d\u6587 Duckling <img src=\"https://raw.githubusercontent.com/leovan/duckling-chinese/main/docs/images/logo.png\" align=\"right\" alt=\"logo\" height=\"100\" style=\"border: none; float: right; height: 100px;\" />\n![Version](https://img.shields.io/pypi/v/duckling-chinese)\n![Python Versions](https://img.shields.io/pypi/pyversions/duckling-chinese)\n![Duckling Core](https://img.shields.io/badge/Duckling_Core-1.6.4-blue)\n![License](https://img.shields.io/pypi/l/duckling-chinese)\n![Downloads](https://img.shields.io/pypi/dm/duckling-chinese)\n\n---\n\n## \u7b80\u4ecb\n\n\u4e2d\u6587 Duckling (duckling-chinese) \u662f\u57fa\u4e8e Jpype1 \u7684 [duckling-fork-chinese](https://github.com/XiaoMi/MiNLP/tree/main/duckling-fork-chinese) \u7684 Python \u5c01\u88c5\u7248\u672c\uff0c\u63d0\u4f9b\u4f8b\u5982\u65f6\u95f4\u3001\u65e5\u671f\u3001\u6570\u5b57\u7b49\u4e2d\u6587\u89e3\u6790\u670d\u52a1\u3002\n\n## \u4f7f\u7528\n\n\u4e2d\u6587 Duckling \u5229\u7528 Jpype1 \u8c03\u7528 duckling-fork-chinese\uff0c\u9700\u8981\u7cfb\u7edf\u6b63\u786e\u5b89\u88c5\u914d\u7f6e JVM\uff0c\u518d\u901a\u8fc7 `pip` \u5b89\u88c5\u6700\u65b0\u7248\u672c\u3002\n\n```\npip install duckling-chinese\n```\n\n\u5177\u4f53\u4f7f\u7528\u65b9\u5f0f\u8be6\u89c1\u6587\u6863\uff1a<https://duckling.leovan.tech>\u3002\n\n## \u53c2\u8003\n\nHaskell \u539f\u59cb\u7248\u672c\uff1a[Duckling](https://github.com/facebook/duckling)\n\nScala \u4e2d\u6587\u7248\u672c\uff1a[duckling-fork-chinese](https://github.com/XiaoMi/MiNLP/tree/main/duckling-fork-chinese)\n\n## \u8bb8\u53ef\n\nThe MIT License (MIT)\n\n\u7248\u6743\u6240\u6709 © 2023-2024\uff0c<a href=\"https://leovan.me\" target=\"_blank\">\u8303\u53f6\u4eae | Leo Van</a>\n",
"bugtrack_url": null,
"license": null,
"summary": "Ducking Chinese",
"version": "1.1.6",
"project_urls": {
"documentation": "https://duckling.leovan.tech",
"homepage": "https://github.com/leovan/duckling-chinese"
},
"split_keywords": [
"duckling",
" chinese",
" nlp"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bdd38433583a49d9e73227611d149a5b67f7f3e0bf8b92370e2006d186b405a5",
"md5": "f0dd7b28ecd5b87ecff9dbb84c30dabd",
"sha256": "cec29a7a011ae7de3177d23a0a0f0bbb74b202f49dd6e0db581ec5bad71a4255"
},
"downloads": -1,
"filename": "duckling_chinese-1.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f0dd7b28ecd5b87ecff9dbb84c30dabd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 27771898,
"upload_time": "2024-12-15T12:00:43",
"upload_time_iso_8601": "2024-12-15T12:00:43.263088Z",
"url": "https://files.pythonhosted.org/packages/bd/d3/8433583a49d9e73227611d149a5b67f7f3e0bf8b92370e2006d186b405a5/duckling_chinese-1.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1e24f29581f42e8c5ac60a9fe3de07393392d187c2da21253d8af40571b14a39",
"md5": "e5c3e55f27d1d9fff2548c71b1595077",
"sha256": "965fed459f95b55e7871bb6cab1653f3862b42fba11356cd14b0582e94c12b0e"
},
"downloads": -1,
"filename": "duckling_chinese-1.1.6.tar.gz",
"has_sig": false,
"md5_digest": "e5c3e55f27d1d9fff2548c71b1595077",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 27748419,
"upload_time": "2024-12-15T12:00:49",
"upload_time_iso_8601": "2024-12-15T12:00:49.346242Z",
"url": "https://files.pythonhosted.org/packages/1e/24/f29581f42e8c5ac60a9fe3de07393392d187c2da21253d8af40571b14a39/duckling_chinese-1.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-15 12:00:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "leovan",
"github_project": "duckling-chinese",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "Jpype1",
"specs": []
},
{
"name": "backports.zoneinfo",
"specs": []
},
{
"name": "mkdocs-material",
"specs": []
}
],
"lcname": "duckling-chinese"
}