The LAWBO: A Smart Lawyer Chatbot AI Assisted System to scan past judgement to recommend appropriate IPC rules for case preparation

Main Article Content

Unnamalai N
Kamalika G
Shubhashri G
Karthik Ramasubramanian
Abhishek Kumar Singh


Artificial intelligence (AI) has evolved to the stage where it can parse intentions and churn out useful responses to practical queries. Chatbots are AI-driven pieces of software that converse in human terms. They’re not quite ready to pass the Turing test, but ready enough for many forms of commerce and messaging. With the advent and rise of chatbot adaptability, the question is not only, how to make chatbots but also, where to use it next. In recent past, chatbots have found their applications ranging from travel, personal finance, productivity and retail applications.
When it comes to conversing and understanding like humans, one of the most intricate domains for chatbots is the judicial system. One needs to really pour into volumes of legal books and judgement papers to analyze and investigate a case. “Justice delayed is justice denied!”. Time being the most valuable factor in this domain, chatbot seems to be a good investment for helping legal professionals to save time and effort in probing a case. LAWBO could guide and give potential ideas in drawing parallelism between cases and at the same time, answer and fetch & derive relevant knowledge from the humongous amount of legal data and provide it to the lawyers.
We use a combination of heuristics applied on data extracted from supreme court judgments using in-house developed, state-of-the-art parsers and dynamic memory networks (DMN) for Natural Language Processing (NLP). DMN is a neural network architecture which processes input sequences and questions, forms episodic memories, and generates relevant answers, which is essentially how chatbots function. The training for question answering tasks relies exclusively on trained word vector representations and input-question-answer triplets generated from our parsers based on the judgment paper.

Article Details

How to Cite
NU., GK., GS., RamasubramanianK., & SinghA. K. (2020). The LAWBO: A Smart Lawyer Chatbot: AI Assisted System to scan past judgement to recommend appropriate IPC rules for case preparation. Probyto Journal of AI Research, 1(01). Retrieved from


[1] Gandhi, B.M. (2013). Indian Panel Code. New Delhi India: Eastern Book Company.
[2] Goodman, Joanna (2016). Robots in Law: How Artificial Intelligence is Transforming
Legal Services. London, UK: ARK Conferences.
[3] Mike Amundsen, Matt McLarty, Ronnie Mitra, Irakli Nadareishvili (2016), Microservice
Architecture: Aligning Principles, Practices, and Culture. New York, NY: O'Reilly Media
[4] Susskind, Richard (2017). Tomorrow's Lawyers: An Introduction to Your Future.
Cambridge, UK: Oxford University Press.
[5] Gabor Angeli, Melvin Johnson Premkumar, and Christopher D. Manning. (2015)
Leveraging Linguistic Structure For Open Domain Information Extraction. In
Proceedings of the Association of Computational Linguistics (ACL).
[6] Jason Weston, Antoine Bordes, Sumit Chopra, Alexander M. Rush, Bart van Merriënboer,
Armand Joulin and Tomas Mikolov (2015). Towards AI Complete Question Answering:
A Set of Prerequisite Toy Tasks, arXiv:1502.05698.
[7] Kingma, P. and Ba, Jimmy. Adam (2014), A method for stochastic optimization. CoRR,
[8] Kumar, Ankit, Irsoy, Ozan, Su, Jonathan, Bradbury, James, English, Robert, Pierce,
Brian, On-druska, Peter, Gulrajani, Ishaan, and Socher, Richard (2015). Ask me anything:
Dynamic memory networks for natural language processing.
[9] Pennington, J., Socher, R., and Manning, C. D. Glove: Global vectors for word
representation. In EMNLP, 2014
[10] About Niki (2017),
[11] Efficient, intelligent, and accessible legal research. Retrieved from
[12] Flask, web development, one drop at a time. Retrieved from
[13] Microsoft Bot Framework (2017, January 1). Retrieved from
[14] Indian Penal Code (1860). Retrieved from
[15] Lex Machina provides Legal Analytics to companies and law firms, enabling them to
craft successful strategies, win cases, and close business. Retrieved from
[16] Language Understanding Intelligent Service. Retrieved from
[17] Smarter Legal Research. Retrieved from
[18] Supreme Court of India Judgements (2017). Retrieved from
[19] Supercharge lawyers with artificial intelligence. Retrieved from
[20] The law is America's operating system. We're giving it a major upgrade. Retrieved from
[21] The In-House Counsel’s Legal Tech 2017 Buyer’s Guide. Retrieved from
[22] The World’s Largest Litigation Database. Retrieved from
[23] Supreme Court of India. Retrieved from