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.
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.
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.
| Word | What happened to it |
|---|---|
| comprises → includes | Changed. |
| week's → year’s | Flagged, not changed. 'year’s' and 'week's' may differ in meaning here, not only in which one the region writes; check before using |
| colleagues → members | Flagged, 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 → later | Flagged, 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 → improve | Flagged, not changed. 'improve' and 'bolster' may differ in meaning here, not only in which one the region writes; check before using |
| attempting → trying | Changed. |
Counted from the regions that Terrior currently serves.
engPortugueseporSpanishspaHindihinGermandeuRussianrusItalianitaJapanesejpnzhozhoFrenchfraHungarianhunPolishpolCatalancatMarathimarDutchnldSwedishswearaarabulbulBengalibenfinfingujgujnornorRomanianronA 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 text with every safe swap made, i.e., the meaning and the sentence structure stay as they were written.
Each change, with the concept behind it and its position in the text.
Words that the region writes differently, but which were left unchanged because the swap might not be safe, each with the reason.
The same text for the same region is always converted in the same way, so a text only needs to be converted once.
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.