Spaces:
Running
Running
metadata
title: MLAF Grammar Engine
sdk: docker
app_port: 8300
pinned: false
short_description: FastAPI + SWI-Prolog backend for MLAF demo
MLAF Grammar Engine
Backend service for MLAF β Multimodal Language Acquisition Framework. An in-browser, real-time English grammar acquisition system for learners with motor impairment and deaf/hard-of-hearing users.
This Space hosts the FastAPI + SWI-Prolog grammar engine (X-bar syntax, binding theory, Indian Sign Language interference detection). The frontend lives at https://multi-modal-gesture-grammar.vercel.app.
Stack
- FastAPI (Python 3.11) + Uvicorn
- SWI-Prolog via pyswip
- Pydantic v2
Endpoints
GET /healthβ liveness probePOST /predict-nextβ grammatically valid next-token continuationsPOST /validateβ sentence well-formedness checkPOST /interferenceβ L1-interference (ISL β English) pattern detection
Patent-Pending β Provisional application TEMP/E-1/22951/2026-KOL, Indian Patent Office (2026). All rights reserved.
Designed and built by Neil Shankar Ray.