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'REV-APPNAME: localization'\--header'REV-APPVERSION: 3.0'\--data '{"data":["Reverie Language Technologies was established in 2009.","The company head office is located in Bengaluru."]}'
Specify whether the content localization process should use NMT technology or not. i.e., When the enableNmt value is true, the system will initially refer to the Lookup database to localize content. If the content is not available in the database, then the NMT is used for translation.
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'REV-APPNAME: localization'\--header'REV-APPVERSION: 3.0'\--data '{"data":["Reverie Language Technologies was established in 2009.","The company head office is located in Bengaluru."]"enableNmt":true}'
Specify whether the content localization process should use transliteration technology or not. i.e., When the enableTransliteration value is true, the system will initially refer to the Lookup database to localize content. If the content is not available in the database, then nmt is used for translation. If nmt fails, transliteration is called. Note - By default, the enableTransliteration= 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'REV-APPNAME: localization'\--header'REV-APPVERSION: 3.0'\--data '{"data":["Reverie Language Technologies was established in 2009.","The company head office is located in Bengaluru."]"enableTransliteration":true}'
The parameter will specify whether the application should refer to the Lookup DB or not. i.e., when the enableLookup is true, the system will initially refer to the Database to fetch contents. Note - By default, the enableLookup= 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'REV-APPNAME: localization'\--header'REV-APPVERSION: 3.0'\--data '{"data":["Reverie Language Technologies was established in 2009.","The company head office is located in Bengaluru."]"enableLookup":true}'
The feature to screen the non-dictionary words used in a sentence. In other words, the mask will indicate the words that should not be translated into the target language. Note - By default, the nmtMask = true. Note - To set the nmtMask = true, it is mandatory the src_lang = en (English).
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: localization'\--header'REV-APPVERSION: 3.0'\--data '{"data":["Reverie Language Technologies was established in 2009.","The company head office is located in Bengaluru."]"nmtMask":true}'
Determines the Words that are to be masked. Note - On defining values in the nmtMaskTerms, then automatically the nmtMask is set to true.
Example - Masking a term - “nmtMaskTerms”: [“Reverie Language Technologies”] Here, the API will mask the term Reverie Language Technologies, if found in the source content, and will transliterate the word.
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: localization'\--header'REV-APPVERSION: 3.0'\--data '{"data":["Reverie Language Technologies was established in 2009.","The company head office is located in Bengaluru."],"nmtMask": true,"nmtMaskTerms":{"Reverie Language Technologies":"Reverie Language Technologies"}}'
Response
{"responseList":[{"inString":"Reverie Language Technologies was established in 2009.","outString":"Reverie Language Technologies की स्थापना 2009 में की गई थी।","apiStatus":3}],"tokenConsumed":102}
Specify whether you want to filter out profane content from the input. Note - By default, the filterProfane=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'REV-APPNAME: localization'\--header'REV-APPVERSION: 3.0'\--data '{"data":["Reverie Language Technologies was established in 2009.","The company head office is located in Bengaluru."]"filterProfane":true}'