domain
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:
cnt_lang
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.
For Example:
isBulk
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:
noOfSuggestions
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.
For Example:
abbreviate
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.
For Example:
convertNumber
Specify whether to convert the numbers in the input text to the target language script based on the value type.
- Three types of values for this parameter:
- local: This value can convert the input number to the target language script.
Example:Source String Target String 2020.04 २०२०.०४ - words: This value can convert numbers into words with respect to the target language.
Example:Source String Target String 505 पांच सौ पांच - roman: This value can convert Roman numbers to English numbers.
Example:- If the user types
sector V
in English, the transliteration would beसेक्टर 5
in Hindi. Block II
will be transliterated asब्लॉक 2
.
- If the user types
- local: This value can convert the input number to the target language script.