Legal Processes Using Natural Language Processing
Legal Processes Using Natural Language Processing
PROCESSING
A PROJECT REPORT
Submitted by
SWETHA S 312316205171
BACHELOR OF TECHNOLOGY
in
INFORMATION TECHNOLOGY
JULY 2019
ANNA UNIVERSITY: CHENNAI 600 025
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Department of Department of
Information Technology Information Technology
St.Joseph’s College of Engineering St.Joseph’s College of Engineering
Old Mamallapuram Road Old Mamallapuram Road
Chennai-600119 Chennai-600119
ii
CERTIFICATE OF EVALUATION
DESIGNATION
The report of the project work submitted by the above students in partial fulfillment
for the award of Bachelor of Technology degree in Information Technology of Anna
University were evaluated and confirmed to be reports of the work done by the above
students.
iii
ACKNOWLEDGEMENT
We express our sincere thanks and most heartfelt sense of gratitude to our
eminent Head of the Department-Lab Affairs Dr. V.Muthulakshmi M.E., Ph.D.,
for having extended her helping hand at all times.
Last but not the least, we thank our family members and friends who have
been the greatest source of support to us.
iv
ABSTRACT
The objective is to build an expert system that enables the user, right from a
lawyer to a common person, who seeks to obtain professional legal information and
insight about a law-suit or a case or a legal document. The existing practice to do the
same is manual, where legal consultants have to go through the constitutional laws to
find relevant information regarding their case. The process can be computerised and
hence provide a quicker way to segregate those relevant fragments of law. The system
will also be able to decide the case is worth pursuing or not, which can be very
helpful to general public and may as well help the court discard some of the lost
causes. Thus, this system must be of great use, for the preliminary stages of law-suit
at the very least, by reducing the time consumed and making it more economical.
After analysing their problem, it can come to an efficient plan to achieve the user’s
cause. It can also suggest the legal advisors, specializing in the user’s requirements
and connect the seamlessly. The summarization tool, supplemented along with the
system, can analyse and propose a detailed report on the pros and cons, necessary pre-
cautions as well. This ensures that every person is aware of the nature of any
agreement before getting into it. The proposed system would familiarize our legal
laws and procedures to the public, and even popularize it, by aiding them with legal
assistance in the click of their fingers. This could drastically lower the effort and
1 INTRODUCTION
1.1 NATURAL LANGUAGE PROCESSING
1.2 SYSTEM OVERVIEW
1.3 SCOPE OF THE PROJECT
1.3.1 Finding relevant laws
1.3.2 Help a person decide whether to pursue a
case or not
1.3.3 Summarization of legal documents and
contracts
2 LITERATURE SURVEY
3 SYSTEM ANALYSIS
3.1 EXISTING SYSTEM
3.1.1 Disadvantages of the existing system
3.2 PROPOSED SYSTEM
3.2.1 Advantages of proposed system
3.3 REQUIREMENTS SPECIFICATION
3.3.1 Hardware specification
3.3.2 Software specification
3.4 LANGUAGE SPECIFICATION
3.4.1 Python
3.4.1.1 Python frameworks/libraries used
3.4.2 React js
3.4.3 MongoDB
4 SYSTEM DESIGN
4.1 SYSTEM ARCHITECTURE
vii
4.2 USE CASE DIAGRAM
4.3 SEQUENCE DIAGRAM
5 MODULE DESCRIPTION
5.1 MODULES
5.1.1 List relevant laws
5.1.2 Provide legal consultants
5.1.3 Summarize documents
5.1.4 Similar cases
6 CONCLUSION AND FUTURE ENHANCEMENT
6.1 CONCLUSION
6.2 FUTURE ENHANCEMENTS
APPENDIX 1
APPENDIX 2
REFERENCES
ix
LIST OF FIGURES
vii
LIST OF ABBREVATIONS
ABBREVATION/ACRONYM DEFINITION
AI ARTIFICIAL INTELLIGENCE
API APPLICATION PROGRAM INTERFACE
BOW BAG OF WORDS
BPO BUSINESS PROCESS OUTSOURCING
CM CONTRACT MANAGEMENT
DS DATA STRUCTURES
IDE INTEGRATED DEVELOPMENT
ENVIRONMENT
IE INFORMATON EXTRACTION
NER NAMED ENTITY RECOGNITION
NLP NATIONAL LANGUAGE PROCESSING
SME SUBJECT MATTER EXPERTS
viii