AI SYSTEM TO ASSIST LEGAL
PROCESSES USING
NATURAL LANGUAGE
PROCESSING
Vyoma Mohan (312316205190)
Swetha S (312316205171)
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 process can be computerized and hence provide a quicker way to segregate
those relevant fragments of law.
Abstract
It can also suggest the legal advisors, specializing in the user’s requirements and
connect them seamlessly.
The summarization tool available in the system can be used to go through the
required documents in order to provide a gist of the content.
Abstract
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 expense, to get the same
legal support.
Objectives
Finding relevant laws
Help a person to decide whether to pursue a case or not
Recommend lawyers and legal consultants
Summarization of legal documents and contracts
Objectives: Finding relevant laws
Currently lawyers listen to the problems of their clients and then look through
large volumes of legal documents in order to find a solution to the client’s
problem.
The time of the human experts can be directed to much more useful tasks than
manually looking through large volumes of text.
Objectives: Finding relevant laws
The proposed system will take a problem statement from the user. After analysing the problem, it
will filter out the relevant laws in the constitution. After doing this, it will display them to the
user. From this, the lawyers can pick out the laws that they think will be most useful for them.
The input to the system will be in the form of natural language (i.e, the issue as stated by the
lawyer’s client). It need not be polished too much or have legal terms added to it in order to be
fed into the system.
Objectives: Helping to decide whether to
pursue a case
Sometime a person will wish to know whether pursuing a case will have any
value for them or not before attempting to seek justice from the courts. In order to
accurately determine this, it is usually necessary to have some sort of legal
knowledge or an understanding of laws present in the constitution.
Now, since anyone is able to use this system, they can get all relevant laws just by
stating their case to the system.
Objectives: Recommend lawyers
Choosing the right lawyers and legal consultants for a case is just as important as
the facts of the case itself. Many people do not know who to approach if they
want to file a case and do not know any lawyers.
In the case of laymen, the system can also recommend lawyers based on the
nature of their case. For example, if the case looks to be a land dispute the system
can recommend lawyers that are well-versed in civil cases especially land
disputes.
Objectives: Summarization
The aim of the feature is to provide a gist of the document. It does not provide a
detailed explanation of the document as a whole.
It provides the important points of contracts, legal documents and other lengthy
content.
Existing systems
Legal expert systems employ a rule base or knowledge base and an inference engine to accumulate,
reference and produce expert knowledge on specific subjects within the legal domain. Some applications use
NLP to process the statements from the users and present a judgement or a decision based on it. These
applications will work for some field or section of the legal system (such as family law, intellectual property,
etc). In some cases where there are only a small set of possible solutions (such as yes, no and maybe) these
systems can even guess the probable judgement with some amount of accuracy.
Existing systems
In other instances, it may take a decision tree like approach by getting the users to
answer a simple questionnaire and giving broad suggestions based on their
responses.
Summarization programs are present for news articles and even multi data
document summarization is available. Nowadays, it is primarily used on news
articles, where the content is shortened so that the user can read through it. This
saves the users a lot of time.
Drawbacks of existing systems
Only a small percentage of such applications are tailored towards the Indian legal system. The laws are
different in each country and the system should be able to accommodate the changes.
Lack of a generic application that can be easily extended and implemented for different sections and
different types of laws instead of focusing on one specific section.
The application should be easy to use for both the legal experts and the common man.
Lack of guidance on how to approach the legal system in order to seek justice. The advice provided by the
system should be able to solve a wider range of problems.
The client may not be suggested a legal expert according to his needs.
The solutions and guidance provided by the system should be tailor-made towards the client.
Proposed system
The system provides a generic solution using which the relevant
laws are suggested to the legal experts. When a case is presented in
the form of natural language input, the system then analyses it and
pulls up all the relevant laws. The legal experts can then take the
final decision on how they are going to present their case based on
the laws suggested.
Proposed system
The layman should also be able to use this system in order to understand his
problem better and he should be able to make a decision whether to pursue his
case or not.
The decision can be taken by providing the relevant laws so that the person
understands his situation better. The system should also be capable of suggesting
the legal experts who the layman can approach in order to file his case.
Summarization features are also provided to better understand contracts and legal
documents.
Benefits of proposed system
The system can provide a solution that can be easily extended to different sections.
The system will be easy to use so even a layman can use it.
The input will be in Natural language format. There is no need to structure it or use any official terms.
The system provides a connection between the legal experts and the clients.
The system connects the right client with the right legal expert.
There is no need to go through large volumes of text before making a quick decision if summarization is
involved.
This will make the legal system seem much more approachable and create awareness about the rights of each
person.
1) Architecture Diagram
2) Usecase Diagram
3) Sequence Diagram
Diagrams
Architecture Diagram
Usecase Diagram
Sequence Diagram
Modules Present
Finding relevant laws
Input: A description of the problem from the user
Output: A list of all the laws that are found to be relevant to the given situation
Recommend legal consultants
Input: The problem statement from the previous module or some criteria given by
the user to help narrow down the list of lawyers
Output: A list of lawyers that are found to be suitable for the user based on the
constraints given
Summarization
o Input: A text file or document
o Output: A short gist of the content
Completed modules
Screenshot: Home Screen
Screenshot: Relevant Laws
Screenshot: Find Lawyers
Screenshot: Summary
Screenshot: Named Entity Recognition
Literature survey
[1] Lawyer’s Intellectual Tool for Analysis of Legal Documents in Russian
[2] Multiple Data Document Summarization
[3] Artificial Intelligence for Automatic Text Summarization
[4] A Generic Platform to Automate Legal Knowledge Work Process using Machine Learning
[5] Maintainable process model driven online legal expert systems
Literature Survey
[6] Fuzzy Bag-of-Words Model for Document Representation
[7] Information Extraction: Evaluating Named Entity Recognition from Classical Malay Documents
[8] Python for Data Analytics, Scientific and Technical Applications
[9] Named Entity Recognition from Unstructured Handwritten Document Images
[10] Automatic Text Summarization of News Articles