How kskaushikram/cpr works
CPR is a Kivy-based augmentative communication app. A user enters or speaks a message in the AAC interface; the app is documented to normalize and match text, present pictogram-based communication choices, and provide speech output. A local SQLite model records sentences with time and location context and ranks recommendation candidates. The README also documents image generation, ARASAAC pictograms, voice input, and cloud backup/sync. Those broader capabilities are represented from documentation and tree paths; their internal wiring is not established by the sampled application source.
Main entry points: AACScreen.py AAC interface · Controller.py Screen controller · Arasaac_helper.py ARASAAC pictograms · wordgen.py Image generation
Components 18
Application flow
- Kivy entry point
AAC/main.py - Screen controller
AAC/Control/Controller.py - Splash screen
AAC/View/firstscreen.py
Communication tools
- AAC interface
AAC/View/AACScreen.py - Input normalization
AAC/View/input_norm.py - Speech input and output
AAC/View/AACScreen.py - ARASAAC pictograms
AAC/Model/Arasaac_helper.py - Image generation
AAC/Model/wordgen.py
Matching and recommendations
- Word matching
AAC/Model/wordgen.py - Context recommendations
AAC/Model/Database.py
Local and cloud data
- Recommendation access
AAC/Control/Database_helper.py - Sentence history
AAC/Model/Database.py - Insert helper
AAC/Control/Controller.py
Other components
- AAC user
- ARASAAC service
- Image generation service
- SQLite store
- Google Drive
Connections 18
- AAC user → AAC interface: enters or speaks
- Kivy entry point → Screen controller: creates screens
- Screen controller → Splash screen: adds screen
- Screen controller → AAC interface: adds screen
- AAC interface → Input normalization: normalizes text
- AAC interface → Word matching: matches input
- AAC interface → ARASAAC pictograms: requests pictograms
- ARASAAC pictograms → ARASAAC service: fetches pictograms
- AAC interface → Image generation: requests images
- Image generation → Image generation service: generates images
- AAC interface → Speech input and output: provides speech
- AAC interface → Recommendation access: requests suggestions
- Recommendation access → Context recommendations: queries history
- Context recommendations → SQLite store: reads history
- Screen controller → Insert helper: inserts sentence
- Insert helper → Sentence history: calls insert
- Sentence history → SQLite store: writes and reads
- AAC interface → Google Drive: syncs images