Description
This pipeline allows you to detect names in quotes and brackets like: (“Supplier”), (“Recipient”), (“Disclosing Parties”), etc. very common in Legal Agreements to reference the parties.
How to use
legal_pipeline = nlp.PretrainedPipeline("legpipe_alias", "en", "legal/models")
text = ["""MUTUAL NON-DISCLOSURE AGREEMENT
This Mutual Non-Disclosure Agreement (the “Agreement”) is made on _________ by and between:
John Snow Labs, a Delaware corporation, registered at 16192 Coastal Highway, Lewes, Delaware 19958 (“John Snow Labs”), and
Acentos, S.L, a Spanish corporation, registered at Gran Via 71, 2º floor (“Company”), (each a “party” and together the “parties”).
Recitals:
John Snow Labs and Company intend to explore the possibility of a business relationship between each other, whereby each party (“Discloser”) may disclose sensitive information to the other party (“Recipient”).
The parties agree as follows:"""]
result = legal_pipeline.annotate(text)
Results
['(“John Snow Labs”)', '(“Company”)', '( “ Discloser ” )', '(“Recipient”)']
Model Information
Model Name: | legpipe_alias |
Type: | pipeline |
Compatibility: | Legal NLP 1.0.0+ |
License: | Licensed |
Edition: | Official |
Language: | en |
Size: | 13.1 KB |
Included Models
- DocumentAssembler
- TokenizerModel
- ContextualParserModel