Ai System To Assist Legal Processes Using Natural Language Processing
Ai System To Assist Legal Processes Using Natural Language 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
v
TABLE OF CONTENTS
1 INTRODUCTION
1.1 ARTIFICIAL INTELLIGENCE 1
1.2 SYSTEM OVERVIEW 1
1.3 SCOPE OF THE PROJECT 2
1.3.1 Finding relevant laws 2
1.3.2 Help a person decide whether to 3
pursue a case or not
1.3.3 Recommend lawyers and legal 4
consultants
1.3.4 Summarization of legal documents
5
and contracts
2 LITERATURE SURVEY 6
3 SYSTEM ANALYSIS
3.1 EXISTING SYSTEM
3.1.1 Disadvantages of existing system 14
3.2 PROPOSED SYSTEM
3.2.1 Advantages of proposed system 15
3.3 REQUIREMENT SPECIFICATION 16
3.3.1 Hardware Requirements
3.3.2 Software Requirements
3.4 LANGUAGE SPECIFICATION 16
3.4.1 Python
4 SYSTEM DESIGN
4.1 SYSTEM ARCHITECTURE 18
5 MODULE DESCRIPTION
5.1 MODULES 24
5.1.1 List relevant laws 24
5.1.2 Provide legal consultants 24
5.1.3 Summarize documents 25
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