How rumunius/gingerworkbenchpro works
Ginger Workbench Pro is a local research application for reading and annotating Ginger dictionary and corpus data. A researcher uses the Vue interface to search dictionary entries, edit glosses, review and translate passages, and run text through the Playground; the frontend sends requests to FastAPI, which serves the relevant data and operations. Separate graph views expose definition references and workspace layouts, while POS inference supports dictionary and corpus analysis. The README documents the broader capabilities; sampled excerpts do not show every endpoint implementation, so uncertain internal wiring is omitted.
Main entry points: app.py FastAPI endpoints · App.vue Dictionary view · main.js Route setup · CorpusPage.vue Corpus review
Components 16
Research interface
- Route setup
frontend/src/main.js - Dictionary view
frontend/src/App.vue - Corpus review
frontend/src/CorpusPage.vue - Graph and workspaces
frontend/src/GraphPage.vue - Playground dialog
frontend/src/PlaygroundDialog.vue - Gloss transfer
frontend/src/TransferDialog.vue - Token rendering
frontend/src/TokenView.vue
Application API
- FastAPI endpoints
backend/app.py - Gloss packages
backend/gingerzh.py
Language analysis
- Ginger tokenizer
backend/tokenizer.py - POS inference
backend/ginger_pos_pipeline.py - Reference graph
backend/graph_service.py
Local state and data
- User preferences
backend/user_state.py - Dictionary and corpus
data - Local user state
backend/user_state.py
Other components
- Researcher
Connections 20
- Researcher → Route setup: opens app
- Route setup → Dictionary view: routes to
- Route setup → Corpus review: routes to
- Route setup → Graph and workspaces: routes to
- Dictionary view → FastAPI endpoints: requests dictionary
- Dictionary view → Playground dialog: opens
- Dictionary view → Gloss transfer: opens
- Dictionary view → Token rendering: renders tokens
- Corpus review → FastAPI endpoints: requests corpus
- Graph and workspaces → FastAPI endpoints: requests graph and workspaces
- Playground dialog → FastAPI endpoints: requests tagging
- Gloss transfer → FastAPI endpoints: requests gloss transfer
- FastAPI endpoints → Dictionary and corpus: reads and updates
- FastAPI endpoints → Ginger tokenizer: tokenizes text
- FastAPI endpoints → POS inference: requests POS inference
- FastAPI endpoints → Reference graph: requests graph data
- FastAPI endpoints → Gloss packages: validates packages
- FastAPI endpoints → User preferences: loads and saves state
- User preferences → Local user state: persists preferences
- Reference graph → Dictionary and corpus: reads definitions