You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
site: OpenAPI matches production; About gains the results section
The OpenAPI document advertised the retired server URL
(interscript.org/api) and documented a GET form the live API does not
implement. Now: server https://api.interscript.org/v1, POST-only
/transliterate, and the missing /infer (neural models) and /info
endpoints - every path verified against production before documenting.
About gains a 'What the measurements show' section in plain user
language: the benchmark outcome for our Arabic model, the frontier-
model comparison (including the one figure we could not reproduce,
stated as such), the browser-size model, and a link to the full tables
on /ml.
{name: "transliterate",description: "Run a transliteration system"},
38
38
{name: "systems",description: "Browse the system catalogue"},
39
39
{name: "detect",description: "Find a matching system"},
40
+
{name: "infer",description: "Run a neural model"},
40
41
],
41
42
paths: {
42
43
"/transliterate": {
43
-
get: {
44
-
tags: ["transliterate"],
45
-
summary: "Transliterate a single string",
46
-
description:
47
-
"Translates non-Latin text into Latin (or another script) using the named authority system. Idempotent, cacheable for the lifetime of a system version.",
48
-
operationId: "transliterateGet",
49
-
parameters: [
50
-
{
51
-
name: "system",
52
-
in: "query",
53
-
required: true,
54
-
description: "Interscript system code (e.g. `bgnpcgn-ukr-Cyrl-Latn-2019`).",
55
-
schema: {type: "string",maxLength: 200},
56
-
example: "bgnpcgn-ukr-Cyrl-Latn-2019",
57
-
},
58
-
{
59
-
name: "input",
60
-
in: "query",
61
-
required: true,
62
-
description: "Source text to transliterate.",
63
-
schema: {type: "string",maxLength: 10_000},
64
-
example: "Антон",
65
-
},
66
-
{
67
-
name: "stage",
68
-
in: "query",
69
-
required: false,
70
-
description: "Stage to execute (default: `main`).",
"Same as GET /transliterate but accepts a JSON body — useful when input is large, contains newlines, or you prefer POST semantics.",
48
+
"Accepts a JSON body. The only request form this endpoint supports — query-parameter GET requests are not implemented.",
106
49
operationId: "transliteratePost",
107
50
requestBody: {
108
51
required: true,
@@ -233,6 +176,78 @@ const spec = {
233
176
},
234
177
},
235
178
},
179
+
"/infer": {
180
+
post: {
181
+
tags: ["infer"],
182
+
summary: "Run a neural model",
183
+
description:
184
+
"Runs a neural model from the model index (diacritization, grapheme-to-phoneme). Model ids and their measured scores are listed in the models.yaml index; see interscript.org/ml for the catalogue.",
0 commit comments