Final Draft
Final Draft
A PROJECT REPORT
Submitted by
GOKUL P (724021243012)
REUEL JEHOADA P (724021243036)
YESHWANTH V (724021243049)
YUVAN SHANKAR M (724021243050)
MAY 2025
ANNA UNIVERSITY: CHENNAI 600 025
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Dr. MUTHUVEL L, Ph.D. MR J.MANOJ PRABHAKAR, M.E.
HEAD OF THE DEPARTMENT, SUPERVISOR,
We extend our sincere thanks to all our teaching and non-teaching staff
members for helping us.
ABSTRACT
Access to legal information and guidance is often hindered by the high
legal advice, thereby enhancing legal awareness and literacy among the general
i
TABLE OF CONTENTS
CHAPTER TITLE PAGE
NO. NO.
ABSTRACT i
LIST OF FIGURES iv
LIST OF TABLE v
LIST OF ABBREVATION vi
1 INTRODUCTION 1-11
1.1 OVERVIEW 2
1.2 PROBLEM STATEMENT 4
1.3 AI CHATBOT 4
1.4 AIM AND OBJECTIVE 10
1.5 SCOPE OF THE PROJECT 10
2 LITERATURE SURVEY 12-14
3 SYSTEM ANALYSIS 15-22
3.1 EXISTING SYSTEM 16
3.1.1 Disadvantages 17
3.2 PROPOSED SYSTEM 18
3.2.1 Advantages 19
3.3 FEASIBILITY STUDY 19
3.3.1 Technical Feasibility 20
3.3.2 Economic Feasibility 20
3.3.3 Operational Feasibility 20
3.4 SYSTEM ARCHITECTURE 21
4 SYSTEM CONFIGURATION 23-25
4.1 HARDWARE SPECIFICATION 24
4.2 SOFTWARE SPECIFICATION 24
4.3 SOFTWARE REQUIREMENTS 24
ii
4.3.1 PYTHON 24
4.3.2 MYSQL 25
4.3.3 WAMPSERVER 25
4.3.4 BOOTSTRAP 4 25
4.3.5 FLASK 24
5 SYSTEM IMPLEMENTATION 26-34
5.1 SYSTEM DESCRIPTION 28
5.2 SYSTEM FLOW 29
5.3 MODULES DESCRIPTION 29
5.4 LEGALBOT RESPONSE PREDICTOR 32
5.5 RECOMMENDATION 33
5.6 END USER 33
6 SYSTEM TESTING 35-39
6.1 TEST CASES 37
6.2 TEST REPORTS 38
7 CONCLUSION AND FUTURE ENHANCEMENT 40-41
7.1 CONCLUSION 41
7.2 FUTURE ENHANCEMENT 41
8 APPENDIX 42-59
8.1 SOURCE CODING 43
8.2 SCREENSHOTS 54
9 REFERENCES 60-62
iii
FIGURE PAGE
FIGURE DESCRIPTION
NO. NO.
1.1 Statue of Law 2
1.2 Customer Service 5
1.3 Segmentation 5
1.4 Tokenization 6
1.5 Stop Words 6
1.6 Stemming 7
1.7 Lemmatization 7
1.8 Part of Speech Tagging 7
1.9 BERT ML Model 8
1.10 Sentence Prediction 9
3.1 Rule Based Chatbot 17
3.2 System Architecture 21
8.1 Program Initialization 54
8.2 Home Page 54
8.3 Admin Login 55
8.4 Admin Page 55
8.5 Adding Lawyer Detail 56
8.6 Upload Dataset 56
8.7 Dataset TraIning 57
8.8 User Registration 57
8.9 User Login 58
8.10 User Interaction 58
8.11 LegalBot Response 59
8.12 Lawyer Recommendation 59
iv
LIST OF TABLE
TABLE PAGE
TITLE
NO. NO.
5.1 Dataset 30
5.2 TF-IDF vectorization 32
v
LIST OF ABBREVATION
ACRONYMS ABBREVATIONS
NLP Natural Language Processing
IPC Indian Penal Code
Bidirectional Encoder Representation
BERT
from Transformer
TB Test Bug
TCID Test Case Identifier
LB LegalBot
UI User Interface
ML Machine Learning
AI Artificial Intelligence
OS Operating System
DB Database
CMS Case Management System
FAQ Frequently Asked Questions
vi
CHAPTER 1
INTRODUCTION
1
CHAPTER 1
INTRODUCTION
1.1 OVERVIEW
Law is both a discipline and a profession that deals with the customs,
practices, and rules of conduct within a community, which are recognized as
binding by its members. These rules are enforced by an authoritative controlling
body. The term "law" encompasses various types of rules and principles and
fundamentally serves as an instrument to regulate human conduct and behavior.
From the societal perspective, law represents essential concepts such as justice,
morality, reason, order, and righteousness. From the viewpoint of the legislature,
it includes statutes, acts, rules, regulations, orders, and ordinances. From the
perspective of the judiciary, law comprises rules of court, decrees, judgments,
court orders, and injunctions. Therefore, law is a comprehensive term that
broadly includes statutes, rules, regulations, judicial decisions, and fundamental
concepts like justice, morality, and legal theory. It also extends to specialized
branches such as tort law, jurisprudence, and the core principles that guide the
functioning of the legal system.
2
Indian Penal Code(IPC)
The Indian Penal Code (IPC) serves as the fundamental legal framework
in India for establishing criminal liability related to specified offenses and
setting exceptions to criminal liability for these offenses. It encompasses a
comprehensive set of laws addressing all substantive aspects of criminal law,
defining civil law rights, responsibilities, crimes, and punishments. The IPC
meticulously defines each offense, incorporating all necessary elements to
constitute the offense. Therefore, the IPC is the legal instrument that delineates
punishable offenses and their associated penalties. It applies to all Indian
citizens and individuals of Indian origin, regardless of location. The IPC is
organized into 23 chapters and consists of 511 sections.
History of Indian Penal Code
The Indian Penal Code has its roots in the times of British rule in India. It
is known to have originated from British legislation regarding its colonial
conquests, dating back to the year 1860. Before the East India Company drafted
the Indian Penal Code, the Mohammedan law was in effect in India.
Mohomedan criminal law applied to both Hindus and Muslims.
In 1834, the First Law Commission, led by Thomas Babington Macaulay,
drafted the Indian Penal Code under the Charter Act of 1833. It was
submitted to the Governor-General of India Council in 1837 but was revised
again.
The Code was completed in 1850 and presented to the Legislative Council
in 1856; however, it did not become law immediately due to the Indian
Rebellion of 1857.
It was finally passed into law on October 6, 1860, after revision by Barnes
Peacock, who later became the first Chief Justice of the Calcutta High Court.
The Code became effective on January 1, 1862. Macaulay died near the end
of 1859 and did not see his work become law.
It applied to all British India at that time.
3
However, until the 1940s, it did not automatically apply to the Princely
states, which had their own courts and legal systems.
In 1971, the Law Commission proposed revising the IPC in its 42nd Report,
leading to several changes.
On September 6, 2018, the Supreme Court of India decriminalized
homosexuality (Section 377 of the IPC).
Similarly, on September 27, 2018, a five-judge Constitution bench
unanimously ruled to repeal Section 497 (commonly known as adultery).
The IPC took effect in Jammu and Kashmir on October 31, 2019, following
the Jammu and Kashmir Reorganisation Act of 2019, replacing the state's
Ranbir Penal Code.
1.3 AI CHATBOT
An AI chatbot is a piece of software that interacts with a human through
written language. It is often embedded in web pages or other digital applications
to answer customer inquiries without the need for human agents, thus providing
affordable effortless customer service.
4
Figure 1.2: Customer Service.
An AI chatbot is a computer program that simulates human communication and
is widely used on platforms like customer service and sales. Modern chatbots
have evolved from basic tools to advanced systems that engage users in a
personalized, human-like manner using machine learning, natural language
processing (NLP), and natural language understanding (NLU) to interpret user
intent, extract key details, and respond in real time
1.3.1 Natural Language Processing
Natural Language Processing (NLP) is a branch of Artificial Intelligence
(AI) that enables machines to understand human language. It combines
linguistics and computer science to analyze the rules and structure of language,
developing intelligent systems powered by machine learning and NLP
algorithms that can comprehend, interpret, and extract meaning from both text
and speech.
The steps to perform preprocessing of data in NLP include:
Segmentation:
You first need to break the entire document down into its constituent
sentences. You can do this by segmenting the article along with its punctuations
like full stops and commas.
5
Tokenizing:
For the algorithm to understand these sentences, you need to get the
words in a sentence and explain them individually to our algorithm. So, you
break down your sentence into its constituent words and store them. This is
called tokenizing, and each world is called a token.
6
Figure 1.6: Stemming
Lemmatization:
The process of obtaining the Root Stem of a word. Root Stem gives the
new base form of a word that is present in the dictionary and from which the
word is derived. You can also identify the base words for different words based
on the tense, mood, gender,etc.
7
Named Entity Tagging
Next, introduce your machine to pop culture references and common
names by flagging words like movie titles, important personalities, or locations.
This is done by classifying words into subcategories such as person, location,
monetary value, quantity, organization, and movie. This helps identify
keywords in sentences. After these preprocessing steps, the processed data is
fed into a machine learning algorithm like Naive Bayes to build your NLP
application.
1.3.2 BERT
BERT, which stands for Bidirectional Encoder Representations from
Transformers, is a machine learning framework for natural language processing
developed by Google in 2018. It improves contextual understanding of text by
learning to predict words both before and after a given word (bidirectional).
BERT converts words into numerical values, which is essential because
machine learning models process numbers, not words. This transformation
enables training ML models on text data, helping make predictions by
combining text with other data.
9
Figure 1.10: Sentence Prediction
This model also uses a [SEP] token to separate the two input sentences.
BERT achieved an accuracy of 97%–98% on this task. Training with Next
Sentence Prediction helps the model understand relationships between sentences,
improving its contextual understanding.
11
CHAPTER 2
LITERATURE SURVEY
12
CHAPTER 2
LITERATURE SURVEY
15
CHAPTER 3
SYSTEM ANALYSIS
16
Rule based chatbots
A rule-based chatbot is a type of conversational agent or virtual assistant
that operates on a predefined set of rules and decision pathways. Unlike more
advanced AI-powered chatbots, which leverage machine learning and natural
language processing (NLP) techniques to understand and respond to user inputs,
rule-based chatbots follow a fixed set of instructions to interact with users.
17
Difficulty handling ambiguous or nuanced language.
Scalability issues in managing diverse legal scenarios.
Limited learning capabilities and adaptation over time.
Challenges in understanding and responding to contextual nuances in
legal queries.
18
Advocate and Lawyer Recommendation
The Advocate and Lawyer Recommendation Module connects users with
suitable legal professionals by filtering database entries based on user queries
and location.
3.2.1 ADVANTAGES
Cost-effective legal assistance for minor issues, reducing reliance on
expensive consultations.
Time-efficient guidance, minimizing delays in accessing legal support.
Universal access to legal expertise via digital platforms, overcoming
geographical barriers.
Natural language interaction for user-friendly conversations, making legal
information accessible.
Digital knowledge repository, eliminating the need for physical legal
resources.
Promotion of legal literacy, empowering users with essential legal
knowledge.
Adaptive learning for continuous improvement based on user interactions.
Context-aware responses, providing accurate information tailored to user
queries.
Equitable access to justice, reducing disparities in legal support availability.
Multilingual support for enhanced accessibility and user experience.
Accurate offense classification and legal guidance through advanced
machine learning techniques.
3.3. FEASIBILITY STUDY
The feasibility analysis of the LegalBot project evaluated its practicality
and potential for successful execution across various dimensions. Here's an
overview of the feasibility analysis:
19
3.3.1 Technical Feasibility
Availability of Technology:The project utilized widely available and
well-documented tools like Python, Flask, and TensorFlow.
System Architecture:The system, including BERT integration for NLP,
was technically feasible with existing technologies.
Scalability:The design supports future scalability to handle
growing user demand.
3.3.2 Economic Feasibility
Cost Estimation:The project's budget covered expenses related to
hardware, software, development resources, and operational costs. A
detailed cost estimation was performed to ensure financial feasibility.
Return on Investment (ROI):The potential benefits of the LegalBot
system, such as improved efficiency, reduced legal costs, and enhanced
user satisfaction, justified the initial investment.
Cost-Benefit Analysis:A cost-benefit analysis was conducted to assess
whether the expected benefits outweighed the project's costs over its
lifecycle.
3.3.3 Operational Feasibility:
User Acceptance:Stakeholder buy-in and user acceptance were crucial for
the success of the project. User feedback and engagement were actively
solicited throughout the development process to ensure alignment with
user needs and preferences.
Integration with Existing Processes:The LegalBot system seamlessly
integrated with existing legal workflows and processes to minimize
disruption and facilitate adoption by legal professionals and clients.
20
Training and Support:Adequate training and support mechanisms were
in place to assist users in effectively utilizing the system and addressing
any issues that arose.
21
3.4 SYSTEM ARCHITECTURE
22
1. LegalBot Training (Admin Panel)
This module is managed by the Web Admin, who logs in and uploads
datasets related to legal domains. The data then undergoes a comprehensive
training pipeline, which includes:
Preprocessing: Cleaning and normalizing raw text data.
Feature Extraction: Identifying key linguistic and semantic features.
Classification: Categorizing input based on legal intent or domain.
Build and Train: Training NLP models to understand legal queries
accurately.
2. LegalBot Web
This central component acts as the processing and integration hub,
ensuring seamless communication between training modules, the web interface,
and the chatbot.
3. LegalBot Response Prediction (User Interaction)
Citizens, users, or victims interact directly with the chatbot via a user-
friendly interface. This module handles:
Intent Recognition: Understanding the purpose of a user query.
Entity Recognition: Identifying legal entities (e.g., names, dates, case
types).
Dependency Parsing: Analyzing grammatical structure for better
comprehension.
Generate Response: Producing contextually accurate legal advice or
guidance.
User Access
Citizens/users/victims: Can register or log in to interact with LegalBot
and receive legal support.
Web Admin: Has a dedicated interface to manage datasets and model
training.
23
CHAPTER 4
SYSTEM CONFIGURATION
24
CHAPTER 4
SYSTEM CONFIGURATION
4.1 HARDWARE SPECIFICATIONS
Processor: Dual Intel Xeon or AMD Ryzen for parallel processing.
RAM: 16GB to 64GB DDR4 ECC for fast data access.
Storage: RAID-configured 500GB SSDs for improved performance.
25
Pandas (v1.1.3) – Data handling
NumPy (v1.19.2) – Numerical computing
Matplotlib (v3.3.2) – Visualization
Scikit-learn (v0.23.2) – ML models
NLTK (v3.5) – Text processing
WordCloud (v1.8.1) – Word cloud creation
SpeechRecognition (v3.8.1) – Voice input
gTTS (v2.2.2) – Text to speech
Googletrans (v3.1.0a0) – Language translation
Gensim (v3.8.3) – Word2Vec & topic modeling
OpenCV (cv2 v4.4.0) – Image processing
Pillow (PIL v8.0.1) – Image handling
4.3.2 MySQL (v5.7)
Relational database system to store user queries and responses.
Used With: PhpMyAdmin (via WAMP)
Login: No password set (localhost)
4.3.3 Wampserver (v3.2.0 64-bit)
Local server bundle with Apache, PHP, and MySQL for Windows.
Used For: Running MySQL and managing it via PhpMyAdmin.
4.3.4 Bootstrap (v4.5)
CSS framework for building responsive UI.
Used For: Mobile-friendly and structured webpage design.
4.3.5 Flask (v1.1.2)
Lightweight Python web framework.
Used For: Routing, HTML rendering, form handling, and session
management.
26
CHAPTER 5
SYSTEM IMPLEMENTATION
27
CHAPTER 5
SYSTEM IMPLEMENTATION
30
The web app is developed using Python and Flask for the backend and MySQL
for data storage. It uses TensorFlow for ML, Pandas, NumPy, Scikit-learn for
data handling, and NLTK for NLP. Matplotlib and Seaborn handle data
visualization, while Bootstrap ensures a responsive UI. WampServer is used for
local testing.
5.3.2 Legalbot Chatbot Interface
Built using Flask-SocketIO, the chatbot provides real-time, interactive legal
conversations. Users can ask about legal issues, offenses, or IPC sections and
receive immediate responses. It features:
A simple, responsive chat window
Query input and history display
5.3.3 Lawnet Model: Build and Train
The LawNet model, based on BERT, undergoes:
Data preprocessing
Model fine-tuning and training
Performance evaluation
5.3.3.1 Dataset Description
Description of IPC Section: In-depth explanation of the respective IPC section,
highlighting the nature of offenses covered.
Offense: Specific details regarding the offense outlined in the IPC section.
Punishment: The prescribed punishment for the offense, inclusive of
potential imprisonment, fines, or a combination thereof.
Section: The section number within the IPC.
31
Table 5.1: Dataset
5.3.3.2 Preprocessing
To import the dataset containing IPC sections, descriptions, offenses,
punishments, and section numbers, you can use the Pandas library in Python.
For cleaning the dataset by removing any irrelevant information, handling
missing values, and ensuring consistency in formatting by following steps:
Tokenization
Tokenization is the process of breaking down text into individual words
or tokens For example, consider the following description from the dataset:
"Unlawful assembly armed with deadly weapon. "After tokenization, this
description would be split into tokens: ["Unlawful", "assembly", "armed",
"with", "deadly", "weapon"]
Stopword Removal
Stopword removal is the process of filtering out common words, known
as stopwords, that do not carry significant meaning and can be safely
discarded.For example, consider the description: "The accused was found guilty
of theft and sentenced to imprisonment."After stopwords removal, common
words like "the," "was," "of," and "and" would be filtered out, resulting in:
["accused", "found", "guilty", "theft", "sentenced", "imprisonment"]
Stemming/Lemmatization
32
Stemming and lemmatization are techniques used to reduce words to their
root or base form. Stemming involves removing suffixes from words to extract
their root and finds the key word For example, consider the description:
"Crimes committed under the influence of alcohol should be dealt with strictly."
After stemming or lemmatization, words like "committed" might be reduced to
"commit," and "dealt" might be reduced to "deal":
TF-IDF Vectorization
TF-IDF (Term Frequency-Inverse Document Frequency) vectorization is
a technique used to convert text documents into numerical representations,
capturing the importance of words in a document relative to a collection of
documents.TF-IDF vectorization involves representing each description as a
vector of TF-IDF weights for each word in the vocabulary.
"ar
Descri "unla "asse med "dea "wea "accu "fou "gui "th "sente "impriso "cri "comm "influ "alco "de "stric
ption wful" mbly" " dly" pon" sed" nd" lty" eft" nced" nment" mes" itted" ence" hol" alt" tly"
0.35
3 0 0 0 0 0 0 0 0 0 0 0 0.353 0.353 0.353 0.353 3 0.353
33
functionality, enabling it to effectively analyze and classify offenses based on
textual descriptions provided by users. At its core, it integrates the LawNet
model, meticulously built and fine-tuned using the advanced BERT architecture,
into the web application's infrastructure.
5.5 RECOMMENDATION
User Location Retrieval:The module first retrieves the user’s location, either
via manual input or IP-based geolocation. This ensures recommendations are
relevant to the user's geographic area..
Database Query:Based on the retrieved location, the module queries a database
of advocates and lawyers in the vicinity. This database includes details like
contact information, expertise, qualifications, and client reviews.
Filtering and Sorting:The results are filtered and sorted using criteria such as
specialization, proximity, availability, and reputation. This ensures
recommendations match the user’s legal needs.
34
5.6 END USER
5.6.1 Admin Modules
Admin Authentication:Secure login functionality for administrators using
system-provided credentials. Ensures access control and protects sensitive
administrative operations.
Dataset Management:Enables uploading, updating, and maintaining datasets
containing IPC sections, offense descriptions, punishments, and other relevant
legal data. Ensures data consistency and integrity for accurate predictions.
LawNet Model Training:Facilitates training of the LawNet model using the
uploaded dataset. Admins can configure training parameters (e.g., batch size,
learning rate, epochs) and monitor training progress and model accuracy.
Advocate and Lawyer Management:Allows admins to manage the database
of legal professionals by adding, updating, or deleting advocate/lawyer records.
Details include name, contact, area of expertise, qualifications, and user ratings.
User Management:Enables the administration of end-user accounts. Admins
can register new users, update profiles, handle password resets, and delete
accounts as necessary.
5.6.2 User Modules
User Registration:New users can create accounts by providing basic
information such as name, email, and password. Registration enables access to
personalized legal services.
User Authentication: Registered users can securely log in to the platform using
their credentials. Ensures privacy and access to personalized system features.
Query Submission:Users can input legal queries or case descriptions through
an interactive chat interface. The system processes the input for legal analysis
and classification.
Prediction Result: Displays the results of query analysis, including the
predicted IPC section, offense type, punishment, and a simplified explanation.
Information is retrieved from the NLP classification model.
35
Lawyer Recommendation:Provides location-based recommendations of
advocates or lawyers based on the user’s query. The system uses the lawyer
database to suggest suitable professionals with relevant expertise.
36
CHAPTER 6
SYSTEM TESTING
37
CHAPTER 6
SYSTEM TESTING
40
reliability, and performance against the predefined requirements and quality
standards.
Test Objective: The primary aim was to verify the accuracy of response
predictions, evaluate system responsiveness, and detect any potential issues or
bugs.
Test Scope: Testing encompassed all major modules and features, including
user interaction, query processing, offense classification, response generation,
system behavior under varying loads, and admin functionalities.
Test Environment: Tests were conducted in a controlled environment using
the LegalBot web application deployed on a local server. Tools used included
web browsers (Chrome, Firefox), operating systems (Windows), and a Python
development environment.
Test Result: The system performed well overall. It delivered accurate
predictions and maintained satisfactory responsiveness. No critical bugs
affecting functionality were observed.
Bug Report: No major issues were identified. Minor inconsistencies in the
user interface and occasional error-handling anomalies were found but were
promptly resolved.
In conclusion, the LegalBot system has undergone comprehensive testing,
ensuring its functionality, reliability, and performance meet the desired
standards. The successful completion of testing validates the system's readiness
for deployment and use by end-users.
41
CHAPTER 7
CONCLUSION AND FUTURE ENHANCEMENT
42
CHAPTER 7
CONCLUSION AND FUTURE ENHANCEMENT
7.1 CONCLUSION
The LegalBot project simplifies Indian property law by offering an AI-
powered platform for resolving disputes. Using NLP and a BERT-based model,
it interprets queries, predicts relevant IPC sections, and explains offenses and
penalties. Users get legal insights, lawyer recommendations, and multilingual
support through an intuitive interface, while an admin panel ensures smooth
management and updates—empowering users with accessible, informed legal
guidance. It bridges the gap between complex legal systems and the general
public. By streamlining legal processes, LegalBot promotes faster, fairer dispute
resolution.
43
Legal Document Analysis:The analysis of contracts, agreements, and
rulings through models for summarization, clause extraction, and legal
entity recognition, offering clear insights and simplifying legal texts.
CHAPTER 8
APPENDIX
44
CHAPTER 8
APPENDIX
55
8.2 SCREENSHOTS
56
Figure 8.3: Admin Login
57
Figure 8.5: Adding Lawyer Detail
58
Figure 8.7: Dataset Training
59
Figure 8.9:User Login page
60
Figure 8.11: LegalBot Response
61
CHAPTER 9
REFERENCES
62
CHAPTER 9
REFERENCES
63
Educational Technology Development and Exchange, vol. 13, no. 1, pp.
1-14, 2020.
8. Lowe, R., & Pow, N. (2017). The rise of the conversational interface: A
new kid on the block. Computer, 50(8), 58-63.
9. M. H. Hashim, A. Alhamid, M. Aljahdali and A. Albaham, "Chatbot
technology for customer service: a systematic literature review," in
International Journal of Advanced Computer Science and Applications,
vol. 10, no. 6, pp. 305-312, 2019.
10. Muduli, S., & Sharma, S. (2021). Implementation of a conversational
chatbot system for e-commerce. In Intelligent Computing, Information
and Control Systems (pp. 753-760). Springer.
11. P. L. Poon and K. D. Chau, "Designing and Implementing a Chatbot
for Customer Service," in International Journal of Innovation and
Technology Management, vol. 16, no. 5, pp. 1-18, 2019.
12. Rajabi, A., Asgarian, A., & Ebrahimi, M. (2018). A comparative study
of machine learning algorithms for automated response selection in
chatbot systems. In Proceedings of the 9th Workshop on Computational
Approaches to Subjectivity, Sentiment and Social Media Analysis (pp.
45-52).
13. Rashid, S. M., Abdullah, A. H., & Ahmed, M. A. (2019). Development
of a chatbot using natural language processing for customer service.
International Journal of Computer Science and Information Security
(IJCSIS), 17(5), 167.
14. S. Srinivasan and S. Gunasekaran, "Survey on Chatbot Development
and Its Applications," in Journal of Computer Science, vol. 16, no. 11,
pp. 1398-1411, 2020.
15. Saini, V., & Singh, S. (2019). A review on chatbots in customer service
industry. In 2019 6th International Conference on Computing for
Sustainable Global Development (INDIACom) (pp. 313-317). IEEE.
64
16. Sarker, S., & Rana, S. (2020). AI based chatbot for customer service: A
review. In 2020 IEEE Region 10 Symposium (TENSYMP) (pp. 1774-
1778). IEEE.
17. Singh, A., & Sharma, M. (2020). AI Chatbot: A review of literature. In
2020 2nd International Conference on Innovative Mechanisms for
Industry Applications (ICIMIA) (pp. 23-28). IEEE.
18. Y. Liu, L. Wang and X. Liu, "Designing and Developing a Chatbot for
Customer Service," in Proceedings of the 2019 International
Conference on Computer Science and Artificial Intelligence, pp. 209-
213, 2019.
19. Y. Zhao, X. Zhao, Y. Zhang and C. Liu, "A survey on chatbot design
techniques," in Journal of Network and Computer Applications, vol.
153, pp. 102-117, 2020.
20. Zhang, Y., & Wallace, B. (2017). A sensitivity analysis of (and
practitioners’ guide to) convolutional neural networks for sentence
classification. arXiv preprint arXiv:1510.03820
65
66
|www.ijirset.com |A Monthly, Peer Reviewed & Refereed Journal| e-ISSN: 2319-8753| p-ISSN: 2347-6710|
V. DISCUSSION
Our findings underscore the effectiveness of AI-based approaches in property dispute resolution. The
hybrid ensemble model not only enhances prediction accuracy but also provides valuable insights into the
factors influencing legal decisions. By leveraging pre-trained embeddings and transformer models, our
framework can efficiently process complex legal texts while ensuring model interpret ability. However,
challenges persist in adapting AI models to various legal jurisdictions and mitigating biases in training data.
Future research should explore domain-specific adaptations and address ethical concerns related to AI’s role
in legal systems.
VI. CONCLUSION
This study introduces an AI-powered framework for resolving property disputes, utilizing large language
models and hybrid ensemble techniques. Our model significantly improves legal outcome predictions,
achieving high accuracy while maintaining interpretability. The integration of AI in property law has the
potential to revolutionize real estate dispute resolution, enhancing decision-making efficiency and reducing
the workload on legal professionals. Future research will focus on expanding the dataset, refining model
architectures, and addressing ethical considerations in AIdriven legal decision-making.
REFERENCES
1. N. Aletras, D. Tsarapatsanis, D. Preosiuc-Pietro, and V. Lampos, "Predicting judicial decisions of the
European court of human rights: A natural language processing perspective," PeerJ Comput. Sci., vol. 2,
p. e93, Oct. 2016.
2. D. M. Katz, M. J. Bommarito, and J. Blackman, "A general approach for predicting the behavior of the
supreme court of the United States," PLoS ONE, vol. 12, no. 4, Apr. 2017.
3. H. Zhong, Z. Guo, C. Tu, C. Xiao, Z. Liu, and M. Sun, "Legal judgment prediction via topological
learning," in Proc. Conf. Empirical Methods Natural Lang. Process., 2018, pp. 3540–3549.
4. R. Ren, J. W. Castro, A. Santos, S. Pérez-Soler, S. T. Acuña and J. de Lara, "Collaborative modelling:
Chatbots or on-line tools? An experimental study", Proc. Eval. Assessment Softw. Eng., pp. 1-9, 2020.
5. S. Pérez-Soler, E. Guerra and J. de Lara, "Collaborative modeling and group decision making using
chatbots in social networks", IEEE Softw., vol. 35, no. 6, pp. 48-54, Nov./Dec. 2018.
6. R. Ren, J. W. Castro, S. T. Acuña and J. de Lara, "Evaluation techniques for chatbot usability: A
systematic mapping study", Int. J. Soft. Eng. Knowl. Eng., vol. 29, no. 11n12, pp. 1673-1702, 2019.
7. D. S. Zwakman, D. Pal, T. Triyason and V. Vanijja, "Usability of voice-based intelligent personal
assistants", Proc. Int. Conf. Inf. Commun. Technol. Convergence, pp. 652-657, 2020.
8. D. S. Zwakman, D. Pal and C. Arpnikanondt, "Usability evaluation of artificial intelligence-based voice
assistants: The case of amazon alexa", SN Comput. Sci., vol. 2, pp. 1-16, 2021.