IDEAS home Printed from https://ideas.repec.org/a/jbh/ijsrcs/v11y2025i5id1683.html

Leveraging AI for Legal Text Analysis: Case Study-Based Section Prediction

Author

Listed:
  • Rushiraj Mohanjyotsingh Rana
  • Mihirsinh Girirajsinh Jadeja
  • Aryan Shah
  • Mubin Shaikh
  • Bilalkhan Pathan

Abstract

This research introduces an artificial intelligence-driven approach for predicting relevant legal sections directly from judicial case texts. Legal documents often contain complex language and unstructured narratives, making manual identification of applicable law sections time-consuming and prone to errors. To address this challenge, the proposed framework employs Term Frequency–Inverse Document Frequency (TF-IDF) feature extraction to transform textual information into numerical vectors, capturing the importance of terms across case documents. Several machine learning classifiers, including K-Nearest Neighbors (KNN), Support Vector Machine (SVM), Decision Tree (DT), Random Forest (RF), and Extra Trees (ET), were implemented and rigorously evaluated to determine their effectiveness in section prediction. Comparative analysis reveals that the ET model consistently achieves superior performance in terms of accuracy, precision, recall, and F1-score, demonstrating its robustness and reliability for legal text classification. By leveraging TF-IDF features and ensemble learning techniques, the proposed approach significantly reduces the manual effort required for legal section identification and offers an automated, scalable solution for legal professionals and judicial platforms. This framework not only facilitates faster retrieval of relevant legal provisions but also contributes to the advancement of AI applications in the legal domain, supporting more efficient and informed decision-making processes.

Suggested Citation

  • Rushiraj Mohanjyotsingh Rana & Mihirsinh Girirajsinh Jadeja & Aryan Shah & Mubin Shaikh & Bilalkhan Pathan, 2025. "Leveraging AI for Legal Text Analysis: Case Study-Based Section Prediction," International Journal of Scientific Research in Computer Science, Engineering and Information Technology, International Journal of Scientific Research in Computer Science, Engineering and Information Technology, vol. 11(5), pages 39-46, October.
  • Handle: RePEc:jbh:ijsrcs:v11:y2025:i5:id:1683
    DOI: 10.32628/CSEIT25111696
    Note: Article URL: https://ijsrcseit.com/home/article/view/CSEIT25111696
    as

    Download full text from publisher

    File URL: https://ijsrcseit.com/home/article/view/CSEIT25111696
    File Function: Article URL
    Download Restriction: no

    File URL: https://ijsrcseit.com/home/article/download/CSEIT25111696/CSEIT25111696
    File Function: Full text
    Download Restriction: no

    File URL: https://libkey.io/10.32628/CSEIT25111696?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jbh:ijsrcs:v11:y2025:i5:id:1683. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Pankaj Sharma (USA) (email available below). General contact details of provider: https://ijsrcseit.com/home .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.