Content translation/cxserver
Appearance
cxserver is a Nodejs based stateless server powering the Content Translation. It does the following:
- Fetch the page html for given title and language from a configured parsoid instance, segment the html content to sections and sentences.
- Provide the MT backend. Expose a generic MT API, the backend of that act as bridge to multiple Machine Translation services hosted outside cxserver such as Apertium. It also transfers the mark from source HTML to translated HTML in case MT services are capable of only plain text translation.
- Provide Dictionary API for dictionary look up - either through the dictd, json dictionary clients bundled in cxserver or by contacting third party services.
- Tools listing api for a language pair - listing what are the translation tools available for the language pair.
CXServer does not handle any user information, does not require any authentication. Does not contact any MediaWiki database directly.
API Documentation