The Domain refers to the universe in which you use the Transliteration API. Example- Health Care, Insurance, Legal, etc. Refer to Supporting Domain to see the available domains.
For Example:
curl--location--request POST 'https://revapi.reverieinc.com/'\--header'Content-Type: application/json'\--header'REV-API-KEY: <YOUR API-KEY>'\--header'REV-APP-ID: <YOUR APP-ID>'\--header'src_lang: en'\--header'tgt_lang: hi'\--header'domain: generic'\--header'cnt_lang: en'\--header'REV-APPNAME: transliteration'\--header'REV-APPVERSION: 2.0'\--data-raw '{"data":["Reverie Language Technologies ltd website address is www.reverieinc.com"],}'
The language of the words in the input text. Example -“data”: “Singh Sahab aap Kahan the.” In the example above, the Hindi language words are written in the English language script (Roman Script). So cnt_lang = “hi” This is an optional parameter. If no value is provided, by default the value is the same as src_lang. Note - By default, the enableNmt= true
For Example:
curl--location--request POST 'https://revapi.reverieinc.com/'\--header'Content-Type: application/json'\--header'REV-API-KEY: <YOUR API-KEY>'\--header'REV-APP-ID: <YOUR APP-ID>'\--header'src_lang: en'\--header'tgt_lang: hi'\--header'domain: generic'\--header'cnt_lang: en'\--header'REV-APPNAME: transliteration'\--header'REV-APPVERSION: 2.0'\--data-raw '{"data":["Reverie Language Technologies ltd website address is www.reverieinc.com"],}'
Specify whether the API should initially search in the Exception DB to transliterate the input text. Note: By default, the isBulk= true and will not search in the Exception DB.
For Example:
curl--location--request POST 'https://revapi.reverieinc.com/'\--header'Content-Type: application/json'\--header'REV-API-KEY: <YOUR API-KEY>'\--header'REV-APP-ID: <YOUR APP-ID>'\--header'src_lang: en'\--header'tgt_lang: hi'\--header'domain: generic'\--header'REV-APPNAME: transliteration'\--header'REV-APPVERSION: 2.0'\--data-raw '{"data":["Reverie Language Technologies ltd website address is www.reverieinc.com"],"isBulk" :true,}'
Mention the number of transliteration suggestions the API should return for the input text. Note: By default, the noOfSuggestions = 1, means the API will return only one transliteration suggestion for the input string.
The abbreviate will Validate whether any Abbreviations/ Acronyms are passed in the input text and will transliterate it accurately. Note - By default, the abbreviate = true. Note - if the value is false, the API will consider the abbreviation as a word and transliterate it to the nearest available word. Note - In the input text, pass the abbreviations in upper case.
Specify whether you want to retain the entities like email ID and URL in the input script. Note: By default, the ignoreTaggedEntities = true and will transliterate the email ID and URL into the target language script.
For Example:
curl--location--request POST 'https://revapi.reverieinc.com/'\--header'Content-Type: application/json'\--header'REV-API-KEY: <YOUR API-KEY>'\--header'REV-APP-ID: <YOUR APP-ID>'\--header'src_lang: en'\--header'tgt_lang: hi'\--header'domain: generic'\--header'REV-APPNAME: transliteration'\--header'REV-APPVERSION: 2.0'\--data-raw '{"data":["Check product details in www.reverieinc.com"],"ignoreTaggedEntities" :true,}'
Response
{"responseList":[{"inString":"Check product details in www.reverieinc.com","outString":["चेक प्रोडक्ट डिटेल्स इन डब्ल्युडब्ल्युडब्ल्यु.रेवरीइंक.कॉम"],"status":2}]}