Metadata-Version: 2.2
Name: duckling_chinese
Version: 1.1.7
Summary: Ducking Chinese
Author-email: 范叶亮 <leo-van@hotmail.com>
Project-URL: homepage, https://github.com/leovan/duckling-chinese
Project-URL: documentation, https://duckling.leovan.tech
Keywords: duckling,chinese,nlp
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: Unix
Classifier: Programming Language :: Java
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Jpype1
Requires-Dist: backports.zoneinfo; python_version < "3.9"

# 中文 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.2-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)

版权所有 &copy; 2023-2024，<a href="https://leovan.me" target="_blank">范叶亮 | Leo Van</a>
