Skip to content

imohitmayank/ipc_semantic_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPC Semantic Search

What:

  • The Indian Penal Code (IPC) is the official criminal code of India. Wikipedia
  • The intention behind this project is to provide an interfact for a common layman to search IPC sections.

Steps:

  • Scrap the devgan.in website to get the different sections in IPC
  • Use semantic sentence similarity models to get the embeddings of the descriptions of the IPC sections
  • Perform Cosine Similarity to get the nearest matching section wrt query.

Code:

  • devganscrap: Scrapy code to crawl and extract IPC sections and their description from the devgan.in

Data:

  • devagnscrp/sections_desc.csv: IPC sections and descriptions (Data Credits: http://devgan.in)

About

Creating a semantic search on Indian Penal Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published