/lexpredict-lexnlp

LexNLP by LexPredict

Primary LanguageJupyter NotebookGNU Affero General Public License v3.0AGPL-3.0

Build Status Coverage Status Docs

LexNLP by LexPredict

Information retrieval and extraction for real, unstructured legal text

LexNLP is a library for working with real, unstructured legal text, including contracts, plans, policies, procedures, and other material.

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

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