terriorContact
Being built · region-level localisation API

Localisation for a region

Terrior is being built to rewrite a text toward the way one region writes its language. The text and the region are sent in one request, and Terrior returns the rewritten text, the swaps it made, and the swaps it did not make, each with the reason it was not made.

One sentence, one region
eng-ca-08-toronto
Your text

The forthcoming update comprises fixes for everyone impacted by last week's outage, and our colleagues will subsequently bolster support for anyone attempting to move their account.

What comes back

The forthcoming update includes fixes for everyone impacted by last week's outage, and our colleagues will subsequently bolster support for anyone trying to move their account.

WordWhat happened to it
comprises → includesChanged.
week's → year’sFlagged, not changed. 'year’s' and 'week's' may differ in meaning here, not only in which one the region writes; check before using
colleagues → membersFlagged, not changed. 'members' and 'colleagues' may differ in meaning here, not only in which one the region writes; check before using; the two words are not written beside the same neighbouring words, so the swap could leave a nearby word that no longer fits; check before using
subsequently → laterFlagged, not changed. The two words are not written beside the same neighbouring words, so the swap could leave a nearby word that no longer fits; check before using
bolster → improveFlagged, not changed. 'improve' and 'bolster' may differ in meaning here, not only in which one the region writes; check before using
attempting → tryingChanged.
This example was converted by Terrior when the page loaded. A flagged word is one that a person should check, and it is not necessarily an error.
261
Regions
23
Languages
47
Countries

Counted from the regions that Terrior currently serves.

EnglishengPortugueseporSpanishspaHindihinGermandeuRussianrusItalianitaJapanesejpnzhozhoFrenchfraHungarianhunPolishpolCatalancatMarathimarDutchnldSwedishswearaarabulbulBengalibenfinfingujgujnornorRomanianron
AEARBDBEBGBJBRBYCACHCLCNCOCZDEESFIFRGBGHGYHKHTHUILINITJPKELVMXNGNLNOPEPLPTRORUSESNSZTWUAUSUYVC
One request

The request and the response

A request contains the text and the region. Only the choice of words is changed, and the syntax and structure of the text stay as they were written.

curl https://terrior.app/v1/convert \
  -H 'Authorization: Bearer tk_live_…' \
  -H 'Content-Type: application/json' \
  -d '{"region":"eng-ca-08-toronto","text":"The forthcoming update comprises fixes for everyone impacted by last week'\''s outage, and our colleagues will subsequently bolster support for anyone attempting to move their account."}'

200 OK
{
  "applied": [
    {
      "concept": "includes~comprises",
      "offset": 23,
      "original": "comprises",
      "replacement": "includes"
    },
    {
      "concept": "trying~attempting",
      "offset": 148,
      "original": "attempting",
      "replacement": "trying"
    }
  ],
  "convert_ms": 0.1733,
  "flagged": [
    {
      "concept": "year’s~week's",
      "offset": 69,
      "original": "week's",
      "reason": "'year’s' and 'week's' may differ in meaning here, not only in which one the region writes; check before using",
      "replacement": "year’s"
    },
    {
      "concept": "members~colleagues",
      "offset": 92,
      "original": "colleagues",
      "reason": "'members' and 'colleagues' may differ in meaning here, not only in which one the region writes; check before using; the two words are not written beside the same neighbouring words, so the swap could leave a nearby word that no longer fits; check before using",
      "replacement": "members"
    },
    {
      "concept": "later~subsequently",
      "offset": 108,
      "original": "subsequently",
      "reason": "the two words are not written beside the same neighbouring words, so the swap could leave a nearby word that no longer fits; check before using",
      "replacement": "later"
    },
    {
      "concept": "improve~bolster",
      "offset": 121,
      "original": "bolster",
      "reason": "'improve' and 'bolster' may differ in meaning here, not only in which one the region writes; check before using",
      "replacement": "improve"
    }
  ],
  "region": "eng-ca-08-toronto",
  "text": "The forthcoming update includes fixes for everyone impacted by last week's outage, and our colleagues will subsequently bolster support for anyone trying to move their account."
}
The response

Rewritten text

The text with every safe swap made, i.e., the meaning and the sentence structure stay as they were written.

The swaps it made

Each change, with the concept behind it and its position in the text.

The swaps it did not make

Words that the region writes differently, but which were left unchanged because the swap might not be safe, each with the reason.

Convert once

The same text for the same region is always converted in the same way, so a text only needs to be converted once.

Contact

Terrior is being built

We are measuring how a language is used in each region, from text written in that region. If you would like to know more about Terrior, or to stay in touch while it is being built, you can write to us below.