Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Implementation of Cosine Similarity Algorithm on Omnibus Law Drafting

Author 1: Aristoteles Author 2: Muhammad Umaruddin Syam Author 3: Tristiyanto Author 4: Bambang Hermanto
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 15, No. 4 · Published 2024

DOI: https://doi.org/10.14569/IJACSA.2024.0150420

Abstract

Drafting of Omnibus Laws presents a complex challenge in legal governance, often involving the integration and consolidation of disparate legal provisions into a unified framework. In this context, the application of advanced computational techniques becomes crucial for streamlining the drafting process and ensuring coherence across the law's various components. Cosine similarity, a widely used measure in natural language processing and document analysis, offers a quantitative means to assess the similarity between different sections or articles within the Omnibus Law draft. By representing legal texts as high-dimensional vectors in a vector space model, cosine similarity enables the comparison of textual similarity based on the cosine of the angle between these vectors. Implementing cosine similarity in the context of omnibus law using FastAPI and Laravel can be a valuable tool for analyzing similarity between legal documents, especially in the context of omnibus law. Legal practitioners and researchers can use the cosine similarity measure to compare the textual content of different legal documents and identify similarities. This can aid in tasks such as legal document retrieval, clustering similar provisions, and detecting potential inconsistencies. The combination of FastAPI and Laravel provides a potent and efficient way to develop and deploy this functionality, contributing to the advancement of legal informatics and analysis. The dataset used is Undang-Undang (UU) which used Bahasa from 1945 to 2022, comprising a total of 1705 UU. The implemented cosine similarity yielded a recall rate of 90.10% on the law.

Keywords

How to Cite this Article

Aristoteles, Syam, M. U., Tristiyanto, & Hermanto, B. (2024). Implementation of Cosine Similarity Algorithm on Omnibus Law Drafting. International Journal of Advanced Computer Science and Applications, 15(4). https://doi.org/10.14569/IJACSA.2024.0150420

Aristoteles, et al.. "Implementation of Cosine Similarity Algorithm on Omnibus Law Drafting." International Journal of Advanced Computer Science and Applications, vol. 15, no. 4, 2024, https://doi.org/10.14569/IJACSA.2024.0150420.

@article{Aristoteles2024,
  title     = {Implementation of Cosine Similarity Algorithm on Omnibus Law Drafting},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {15},
  number    = {4},
  year      = {2024},
  publisher = {The Science and Information Organization},
  author    = {Aristoteles and Muhammad Umaruddin Syam and Tristiyanto and Bambang Hermanto},
  doi       = {10.14569/IJACSA.2024.0150420},
  url       = {https://doi.org/10.14569/IJACSA.2024.0150420}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.