Skip to content

openlegaldata/legal-reference-extraction

Repository files navigation

Legal Reference Extraction

Build Status

Toolkit for extracting references from legal documents. References to law sections and case files are supported.

Supported countries:

  • Germany

Install

# from git
pip install git+https://github.com/openlegaldata/legal-reference-extraction.git#egg=legal-reference-extraction


# Local dev
pip install -r requirements.txt

Usage

from refex.extractor import RefExtractor

extractor = RefExtractor()

content, markers = extractor.extract('<p>Ein Satz mit § 3b AsylG, und weiteren Sachen.</p>')

See also

License

MIT