# armlaw
A legal research assistant over 200,000+ Armenian legal acts. Every citation is verified.
- Role of Hrayr Zohrabyan: Everything
- Period: 2026 – now
- Status: Closed testing
- Page: https://hrayrzh.com/work/armlaw/

## What it is
A research assistant for Armenian law. It answers a legal question from a collected body of legislation and court records and shows the exact provisions it relied on.

## The problem
Language models answer legal questions fluently and invent citations. For a lawyer an answer without a verifiable source is useless.

## My part
Everything: collecting the corpus, search, the assistant, the interface.

## How it works
- Sources: Crawlers for the national legislation database, the court records portals and regional government sites, running on daily and weekly schedules.
- Scanned documents: Hundreds of thousands of scanned pages recognised with an Armenian OCR model.
- Hybrid search: Full-text and vector search together, so a question finds a provision even when it uses different words.
- Citation check: Every citation in an answer is checked on the server against the source text before the user sees it.

## Result
In closed testing with practising lawyers.

## Stack
Python, Qdrant, SQLite FTS5, Tesseract OCR, Large language models
