Full Morphology, Lemmas & Paradigms
Exact lemma lookup, fast prefix autocomplete, and complete grammatical paradigm generation without external cloud dependencies.
Public Bulgarian text analysis editor, morphological engine & versioned HTTP API v2 (/bglang)
Opens a live Bulgarian text analysis editor directly at /bglang with documentation at /bglang/docs and a versioned API at /bglang/api/v2.
Morphological, accentual, and syntactic breakdown returned by the public editor:
Exact lemma lookup, fast prefix autocomplete, and complete grammatical paradigm generation without external cloud dependencies.
Places and validates stress marks across inflected and derived Bulgarian words using a verified accentual graph.
Maps derivational families, prefixes, roots, and suffixes — ideal for smart search indexing, education, and linguistic tools.
Opening /bglang launches the live text editor directly, /bglang/demo-lab exposes all 14 operations interactively, and /bglang/api/v2/* remains on a stable versioned path across updates.
All 14 linguistic operations accept a strict UTF-8 JSON object with a text field and return a deterministic ApiEnvelope carrying component versions, the loaded package SHA-256, and explicit coverage flags.
curl -sS -X POST "https://map.bg/bglang/api/v2/analyze-text" \
-H "Content-Type: application/json; charset=utf-8" \
-d '{"text":"Нова книга стои на масата. Аз чета."}'
{
"apiVersion": "2",
"evidenceFormat": "shared-analyses-v1",
"package": {
"packageId": "bglang-neutral:9e9a4f441f679542",
"manifestSha256": "9db1df176daea9b703ebbf42022c7b1b871f2daecaa5d9178e0b788408f2e853"
},
"limits": { "effective": 32, "hostMaximum": 32, "scope": "per-word-analysis" },
"coverage": { "hostTruncated": false, "possibleTruncation": false },
"data": { "tokens": [ /* UTF-16 spans, analysisRef, lexical, context, syntax */ ] },
"wordAnalyses": [ /* споделени уникални анализи за отговора */ ]
}
GET /bglang/api/v2/ returns the active release version, package ID, and exact manifestSha256.
Up to 30 POST requests/min per IP (HTTP 429 with Retry-After), 128 KiB max request body, 16,384 UTF-16 chars for text (256 for single words), and a 10 s deadline.
Unknown JSON fields are rejected upfront (400 invalid-json). Protocol errors return a compact { "code", "message" } JSON with status 400, 413, 415, 429, 503, or 504.
Request body logging is off and analyzed texts are never cached on disk; /health/live and /health/ready operate independently of the worker queue.