CrimeKgAssitant is a Chinese-language legal NLP project that combines offense prediction, consultation classification, automated answers, and knowledge graph queries. It organizes data around criminal charges, sentencing cases, legal question-and-answer pairs, and related legal information. A multiclass model predicts likely offense categories from written case descriptions using document embeddings and a support vector machine. Separate classifiers sort consultation questions into predefined legal categories before retrieving or generating relevant responses from the prepared knowledge base. The repository includes training scripts, inference programs, dictionaries, models, and utilities for building the question-answer database. Its published experiments use millions of case records and hundreds of thousands of consultation pairs. The software is intended for research and demonstration and does not replace qualified legal advice.
Features
- Criminal offense category prediction
- Legal consultation question classification
- Automated legal information responses
- Crime-centered knowledge graph queries
- Model training and inference scripts
- Large case and consultation datasets