Setting content language

Automated content processing, such as rephrasing, involves a large number of language-specific nuances, idioms, and expressions that can significantly impact the way sentences are structured and meanings are conveyed. Different languages have unique grammatical rules, word choices, and cultural contexts that influence the appropriate content processing techniques.

Thus, you must explicitly specify the correct content language in language parameter when making GroupDocs.Rewriter API calls. It will ensure that the rephrased content is grammatically correct and accurately captures the intended meaning. The following languages are supported:

LanguageConfiguration value
Arabicar
Englishen
Frenchfr
Germande
Hindihi
Indonesianid
Italianit
Portuguesept
Russianru
Slovaksk
Spanishes
Thaith
Ukrainianuk

Example

{
  "language": "en",
  "text": "Hello, everyone! We will try to rephrase this text into something new.",
  "suggestions": "One",
  "diversityDegree": "Off"
}