# 中文 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)
![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/8f/a1/c1ed972dac2b26695f78f7573c0d1d96c04fe837644ac1c3d7714f875ff9/duckling_chinese-1.1.3.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![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.3",
"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": "1dcd4c6271b43559b9b2b02f27c0aa3d1ff864e2a50c169f8cd07ec7eb05b780",
"md5": "20f6c84985166a584bbb613a2857d08d",
"sha256": "ce768da5020aab7f5cf324fb383c3fdb25bd9c44b91fe0579465004e9d500c22"
},
"downloads": -1,
"filename": "duckling_chinese-1.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "20f6c84985166a584bbb613a2857d08d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 27731713,
"upload_time": "2024-04-21T08:04:54",
"upload_time_iso_8601": "2024-04-21T08:04:54.357292Z",
"url": "https://files.pythonhosted.org/packages/1d/cd/4c6271b43559b9b2b02f27c0aa3d1ff864e2a50c169f8cd07ec7eb05b780/duckling_chinese-1.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8fa1c1ed972dac2b26695f78f7573c0d1d96c04fe837644ac1c3d7714f875ff9",
"md5": "e72bb854871f07581567a62570f16fe4",
"sha256": "7296459e65a3e9ee09db59c83d51017e08ffd7c9caed9eaca9148592ccb11662"
},
"downloads": -1,
"filename": "duckling_chinese-1.1.3.tar.gz",
"has_sig": false,
"md5_digest": "e72bb854871f07581567a62570f16fe4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 27708787,
"upload_time": "2024-04-21T08:04:57",
"upload_time_iso_8601": "2024-04-21T08:04:57.913129Z",
"url": "https://files.pythonhosted.org/packages/8f/a1/c1ed972dac2b26695f78f7573c0d1d96c04fe837644ac1c3d7714f875ff9/duckling_chinese-1.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-21 08:04:57",
"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"
}