Metadata-Version: 2.1
Name: nllegalcit
Version: 0.0.4
Summary: Python library to find citations to Dutch legal documents in natural language text
Author-email: Martijn Staal <nllegalcit@martijn-staal.nl>
Project-URL: Homepage, https://github.com/mastaal/nllegalcit
Project-URL: Issues, https://github.com/mastaal/nllegalcit/issues
Project-URL: Documentation, https://nllegalcit.martijn-staal.nl/latest
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)
Classifier: Intended Audience :: Legal Industry
Classifier: Intended Audience :: Science/Research
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: lark >=1.1.8
Requires-Dist: requests >=2.31.0
Requires-Dist: pypdf >=3.17.2
Requires-Dist: cryptography >=41.0.7

# nllegalcit

[![GitHub License](https://img.shields.io/github/license/mastaal/nllegalcit?color=%23003399)](https://github.com/mastaal/nllegalcit/blob/main/LICENSE)
[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/mastaal/nllegalcit/pytest.yml?label=tests)](https://github.com/mastaal/nllegalcit/actions/workflows/pytest.yml)
[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/mastaal/nllegalcit/pylint.yml?label=linter)](https://github.com/mastaal/nllegalcit/actions/workflows/pylint.yml)
[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/mastaal/nllegalcit/mypy.yml?label=type%20checking)](https://github.com/mastaal/nllegalcit/actions/workflows/mypy.yml)


A Python library to find citations to Dutch legal documents in natural language text.

This library is partially based on the [linkextractor](https://gitlab.com/koop/ld/lx/linkextractor) developed by [KOOP](https://www.koopoverheid.nl/) to implement the Linked Data Overheid (LiDO). The aim of `nllegalcit` is to provide a more generally accessible way to recognize Dutch legal citations in natural language text.

**Please note that this library is currently under development. It will probably not work reliably.**

## Supported citations

The following types of citations are implemented, work in progress, or planned:

| Citation type | Implementation status | Implementation notes |
|---------------|-----------------------|----------------------|
| Kamerstukken (Dutch parliamentary documents)  | ⚠️ Work in progress      | Works reasonably well for modern (>1995) citations following the guidelines. Older citations may work. Simple page number notations work. |
| Handelingen (Dutch parliamentary minutes)   |  ⚠️ Work in progress  | Initial implementation exists, but needs more thorough testing.|
| ECLI case law citations  | ⚠️ Work in progress    | Seems to work, but more testing is needed. Paragraph information is not parsed. |
| Dutch case law other than ECLI | 🗓️ Planned |
| Dutch national laws | 🗓️ Planned |
| Dutch treaties | 🗓️ Planned |
| Dutch local law | 🗓️ Planned |
| EU law | 🗓️ Planned |

## License

Copyright (c) 2023, 2024 Martijn Staal <nllegalcit [a t ] martijn-staal.nl>

Available under the European Union Public License v1.2 (EUPL-1.2), or, at your option, any later version.
