Skip to content

Commit 8e38ddc

Browse files
authored
Merge pull request #61 from LexPredict/2.2.0
2.2.0
2 parents ffde6de + 12a9888 commit 8e38ddc

File tree

351 files changed

+2348
-1004
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

351 files changed

+2348
-1004
lines changed

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ include index.rst
44
include python-requirements.txt
55
recursive-include lexnlp *.pickle
66
recursive-include lexnlp/extract/en/addresses *.json *.txt *.xml
7-
recursive-include lexnlp/extract/en/contracts/data *.part*
87
recursive-include lexnlp *.csv
98
recursive-include libs *
109
recursive-include scripts *

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ evaluation license
4242
by contacting ContraxSuite Licensing at <<license@contraxsuite.com>>.
4343

4444
## Requirements
45-
* Python 3.6
45+
* Python 3.8
4646
* see python-requirements.txt file for full information
4747

4848
## Releases
49+
* 2.2.0: July 7, 2022 - Twenty fourth scheduled public release; [code](https://github.com/LexPredict/lexpredict-lexnlp/tree/2.2.0)
4950
* 2.1.0: September 16, 2021 - Twenty third scheduled public release; [code](https://github.com/LexPredict/lexpredict-lexnlp/tree/2.1.0)
5051
* 2.0.0: May 10, 2021 - Twenty second scheduled public release; [code](https://github.com/LexPredict/lexpredict-lexnlp/tree/2.0.0)
5152
* 1.8.0: December 2, 2020 - Twenty first scheduled public release; [code](https://github.com/LexPredict/lexpredict-lexnlp/tree/1.8.0)

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,14 @@ terms or a non-GPL evaluation license by contacting ContraxSuite Licensing at
7575
Requirements
7676
------------
7777

78-
- Python 3.6
78+
- Python 3.8
7979
- see python-requirements.txt file for full information
8080

8181
Releases
8282
--------
8383

84+
- 2.2.0: July 7, 2022 - Twenty fourth scheduled public release;
85+
`code <https://github.com/LexPredict/lexpredict-lexnlp/tree/2.2.0>`__
8486
- 2.1.0: September 16, 2021 - Twenty third scheduled public release;
8587
`code <https://github.com/LexPredict/lexpredict-lexnlp/tree/2.1.0>`__
8688
- 2.0.0: May 10, 2021 - Twenty second scheduled public release;

documentation/docs/source/changes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
Changelog
55
============
66

7+
2.2.0 - July 7, 2022
8+
----------------
9+
* Improved LexNLP handling for dates, durations and persons for the all locales.
10+
* Added parameterizable contract classifiers.
11+
* Improved LexNLP handling for ML models.
12+
* Updated python requirements and tests, retrained ML models to use gensim-4.
13+
714
2.1.0 - September 16, 2021
815
----------------
916
* Improved LexNLP handling for companies for the "EN" locale.

documentation/docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
author = 'ContraxSuite, LLC'
2626

2727
# The short X.Y version
28-
version = '2.1.0'
28+
version = '2.2.0'
2929
# The full version, including alpha/beta/rc tags
30-
release = '2.1.0'
30+
release = '2.2.0'
3131

3232
# -- General configuration ---------------------------------------------------
3333

documentation/docs/source/license.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ License
77
AGPL License
88
----------------
99
LexNLP is available by default under the terms of the GNU Affero General Public License v3.0.
10-
https://github.com/LexPredict/lexpredict-lexnlp/blob/2.1.0/LICENSE
10+
https://github.com/LexPredict/lexpredict-lexnlp/blob/2.2.0/LICENSE
1111

1212

1313
License Release

documentation/docs/source/modules/extract/en/courts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ of court or venue references from text.
1818
* US Federal and State courts
1919

2020
This data is governed by a separate Creative Commons Attribution Share Alike 4.0 license here:
21-
https://github.com/LexPredict/lexpredict-legal-dictionary/blob/2.1.0/LICENSE
21+
https://github.com/LexPredict/lexpredict-legal-dictionary/blob/2.2.0/LICENSE
2222

2323

2424
The full list of current unit test cases can be found here:

documentation/docs/source/modules/extract/en/geoentities.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ of geopolitical or geographic references from text.
1212
https://github.com/LexPredict/lexpredict-legal-dictionary
1313

1414
This data is governed by a separate Creative Commons Attribution Share Alike 4.0 license here:
15-
https://github.com/LexPredict/lexpredict-legal-dictionary/blob/2.1.0/LICENSE
15+
https://github.com/LexPredict/lexpredict-legal-dictionary/blob/2.2.0/LICENSE
1616

1717

1818
The full list of current unit test cases can be found here:

index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,14 @@ terms or a non-GPL evaluation license by contacting ContraxSuite Licensing at
7575
Requirements
7676
------------
7777

78-
- Python 3.6
78+
- Python 3.8
7979
- see python-requirements.txt file for full information
8080

8181
Releases
8282
--------
8383

84+
- 2.2.0: July 7, 2022 - Twenty fourth scheduled public release;
85+
`code <https://github.com/LexPredict/lexpredict-lexnlp/tree/2.2.0>`__
8486
- 2.1.0: September 16, 2021 - Twenty third scheduled public release;
8587
`code <https://github.com/LexPredict/lexpredict-lexnlp/tree/2.1.0>`__
8688
- 2.0.0: May 10, 2021 - Twenty second scheduled public release;

lexnlp/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
__author__ = "ContraxSuite, LLC; LexPredict, LLC"
22
__copyright__ = "Copyright 2015-2021, ContraxSuite, LLC"
3-
__license__ = "https://github.com/LexPredict/lexpredict-lexnlp/blob/2.1.0/LICENSE"
4-
__version__ = "2.1.0"
3+
__license__ = "https://github.com/LexPredict/lexpredict-lexnlp/blob/2.2.0/LICENSE"
4+
__version__ = "2.2.0"
55
__maintainer__ = "LexPredict, LLC"
66
__email__ = "support@contraxsuite.com"
77

88
import os
99

10-
1110
# Stanford NLP flag
1211
USE_STANFORD = os.environ["LEXNLP_USE_STANFORD"].lower() == "true" if "LEXNLP_USE_STANFORD" in os.environ else False
1312

13+
MODELS_REPO: str = "https://api.github.com/repos/LexPredict/lexpredict-lexnlp/releases/tags/"
14+
1415

1516
def get_module_path():
1617
"""

0 commit comments

Comments
 (0)