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.0.tar.gz (72.7 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.0-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lexref-1.0.tar.gz
  • Upload date:
  • Size: 72.7 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.0.tar.gz
Algorithm Hash digest
SHA256 b268fff5f792c25924c0fbc112f929471124fd56e4eec8dfa83a85c8f616b40b
MD5 648b735dc3d45cc80e2567bcb9e876f8
BLAKE2b-256 ac0fa6483b9fbd7ee0727f2c898378cfb37b090c4564c183ab05070d28d90b71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lexref-1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bfd4293d15930652becdd7bd754d4cd8e1b75a481ea4626c22a615d315bb039
MD5 252a68841c8e640acb7d42a03ef7ef50
BLAKE2b-256 85ab6df0dda6f163c145ecf0062564bf9f39faca681eb7b84643d69f896d531c

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