Skip to main content

Build Status Coverage Status image2 Docs

LexNLP by LexPredict

LexNLP provides functionality such as:

  • Segmentation and tokenization, such as

    • A sentence parser that is aware of common legal abbreviations like LLC. or F.3d.

    • Pre-trained segmentation models for legal concepts such as pages or sections.

  • Pre-trained word embedding and topic models, broadly and for specific practice areas

  • Pre-trained classifiers for document type and clause type

  • Broad range of fact extraction, such as:

    • Monetary amounts, non-monetary amounts, percentages, ratios

    • Conditional statements and constraints, like “less than” or “later than”

    • Dates, recurring dates, and durations

    • Courts, regulations, and citations

  • Tools for building new clustering and classification methods

  • Hundreds of unit tests from real legal documents

Logo

Information

Structure

Please note that ContraxSuite installations generally require trained models or knowledge sets for usage.

Licensing

LexNLP is available under a dual-licensing model. By default, this library can be used under AGPLv3 terms as detailed in the repository LICENSE file; however, organizations can request a release from the AGPL terms or a non-GPL evaluation license by contacting ContraxSuite Licensing at <license@contraxsuite.com>.

Requirements

  • Python 3.8

  • pipenv

Releases

  • 2.3.0: November 30, 2022 - Twenty sixth scheduled public release; code

  • 2.2.1.0: August 10, 2022 - Twenty fifth scheduled public release; code

  • 2.2.0: July 7, 2022 - Twenty fourth scheduled public release; code

  • 2.1.0: September 16, 2021 - Twenty third scheduled public release; code

  • 2.0.0: May 10, 2021 - Twenty second scheduled public release; code

  • 1.8.0: December 2, 2020 - Twenty first scheduled public release; code

  • 1.7.0: August 27, 2020 - Twentieth scheduled public release; code

  • 1.6.0: May 27, 2020 - Nineteenth scheduled public release; code

  • 1.4.0: December 20, 2019 - Eighteenth scheduled public release; code

  • 1.3.0: November 1, 2019 - Seventeenth scheduled public release; code

  • 0.2.7: August 1, 2019 - Sixteenth scheduled public release; code

  • 0.2.6: June 12, 2019 - Fifteenth scheduled public release; code

  • 0.2.5: March 1, 2019 - Fourteenth scheduled public release; code

  • 0.2.4: February 1, 2019 - Thirteenth scheduled public release; code

  • 0.2.3: Junuary 10, 2019 - Twelfth scheduled public release; code

  • 0.2.2: September 30, 2018 - Eleventh scheduled public release; code

  • 0.2.1: August 24, 2018 - Tenth scheduled public release; code

  • 0.2.0: August 1, 2018 - Ninth scheduled public release; code

  • 0.1.9: July 1, 2018 - Ninth scheduled public release; code

  • 0.1.8: May 1, 2018 - Eighth scheduled public release; code

  • 0.1.7: April 1, 2018 - Seventh scheduled public release; code

  • 0.1.6: March 1, 2018 - Sixth scheduled public release; code

  • 0.1.5: February 1, 2018 - Fifth scheduled public release; code

  • 0.1.4: January 1, 2018 - Fourth scheduled public release; code

  • 0.1.3: December 1, 2017 - Third scheduled public release; code

  • 0.1.2: November 1, 2017 - Second scheduled public release; code

  • 0.1.1: October 2, 2017 - Bug fix release for 0.1.0; code

  • 0.1.0: September 30, 2017 - First public release; code

Metadata

Release files for lexnlp 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lexnlp 2.3.0
File Size Uploaded Provenance Actions
lexnlp-2.3.0.tar.gz 9.5 MB Without provenance Details for lexnlp-2.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lexnlp 2.3.0
File Interpreter ABI Platform Actions
lexnlp-2.3.0-py3-none-any.whl Python 3 none any Details for lexnlp-2.3.0-py3-none-any.whl

Total release size: 19.2 MB

Release files / lexnlp-2.3.0.tar.gz

Download URL lexnlp-2.3.0.tar.gz
Size 9.5 MB
Tags Source
SHA-256 checksum
How to use checksums
f548aa8b27bbef1b99286a737434b9d25f444d4fdd46bb9c0bcd5591403f379c
BLAKE2b-256 checksum
How to use checksums
d478f99c0e1624f24380b21a1aef4076b67fb3c95685c375ef3f1dabf7f2c71d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / lexnlp-2.3.0-py3-none-any.whl

Download URL lexnlp-2.3.0-py3-none-any.whl
Size 9.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1b0c8b37473b2b9c940045f340ab26d4271472d837d6bdf7c99cc5bd57b4e931
BLAKE2b-256 checksum
How to use checksums
ed0260b47e1c296871791098e4049aaf0fcb320d0fa3b824f004d084f1badd2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for lexnlp 2.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page