Skip to main content

LEgislative teXt REFerence extraction

Project description

LexRef

LEgislative teXt REFerence extraction.

The lexref package provides markup for references to legislative texts of the European Union. The resulting markups are anchor elements pointing to the corresponding articles, paragraphs, or chapters within the lexparency document model.

Usage

from lexref import Reflector
reflector = Reflector('EN', 'markup')
reflector('Article 2(1)')
'Article <a title="Article 2(1)" href="#ART_2-1">2(1)</a>'

Currently, this package supports three languages: English (EN), German (DE), and Spanish (ES).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lexref-1.1.tar.gz (72.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lexref-1.1-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

Details for the file lexref-1.1.tar.gz.

File metadata

  • Download URL: lexref-1.1.tar.gz
  • Upload date:
  • Size: 72.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.2

File hashes

Hashes for lexref-1.1.tar.gz
Algorithm Hash digest
SHA256 b4772206461b7b1d3d4fc2f736c5ddaf112c6674eaa1fd5b2c5d984d4e8aea4c
MD5 3f2ceb13a080850a23c1a0b54a6c3eab
BLAKE2b-256 7de492f7ee2ff75dec022e3c4bdf91f15e1ae03089a2a07df8af2ff65705b09e

See more details on using hashes here.

File details

Details for the file lexref-1.1-py3-none-any.whl.

File metadata

  • Download URL: lexref-1.1-py3-none-any.whl
  • Upload date:
  • Size: 40.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.2

File hashes

Hashes for lexref-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30079762c26898921016de982f49f0730c54b23b0ee8232cac47b84fb4e173f7
MD5 901c71015591cb6f62d9bab752feccd1
BLAKE2b-256 c6489e7725603893186d5510fca648b1abcf96908fabe0b6b87c15e5938776ed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page