How tatoeba/tatoeba2 works
Tatoeba is a collaborative platform for creating an open multilingual sentence-and-translation dataset. Its main user workflow is to search and browse sentences, then contribute or manage sentences and translations; the repository also exposes that corpus through a versioned API. The graph includes the search parsing and execution layer, plus major visible product areas such as audio, lists, annotations, and exports. Some subsystems are represented from the file tree only; their internal calls are omitted where excerpts and README do not establish them.
Main entry points: Controller/SentencesController.php Sentence workflows · Search.php Search engine · Api/SentencesController.php Sentence API · SentencesSearchForm.php Search criteria
Components 17
Web application
- Application setup
src/Application.php - Shared controller
src/Controller/AppController.php
Sentence corpus
- Sentence workflows
src/Controller/SentencesController.php - Search criteria
src/Form/SentencesSearchForm.php - Search engine
src/Model/Search.php - Sphinx client
src/Lib/SphinxClient.php - Sentence records
src/Model/Table/SentencesTable.php - Audio workflows
src/Controller/AudioController.php - Sentence lists
src/Controller/SentencesListsController.php - Sentence annotations
src/Controller/SentenceAnnotationsController.php
Community features
- Sentence reviews
src/Controller/ReviewsController.php - User accounts
src/Controller/UsersController.php - Community wall
src/Controller/WallController.php
Data interfaces
- Corpus exports
src/Controller/ExportsController.php - Sentence API
src/Controller/VHosts/Api/SentencesController.php - API search parameters
src/Model/SearchApi.php
Other components
- Platform user
Connections 8
- Platform user → Application setup: uses platform
- Sentence workflows → Shared controller: extends
src/Controller/SentencesController.php - Sentence workflows → Search criteria: creates search criteria
src/Controller/SentencesController.php - Sentence workflows → Sentence records: queries sentences
src/Controller/SentencesController.php - Search criteria → Search engine: configures filters
src/Form/SentencesSearchForm.php - Search engine → Sphinx client: uses client
src/Model/Search.php - Sentence API → API search parameters: parses parameters
src/Controller/VHosts/Api/SentencesController.php - Sentence API → Search engine: uses search
src/Controller/VHosts/Api/SentencesController.php