Module:gon-Gonm-translit/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Module:gon-Gonm-translit. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

Masaram Gondi transliteration module.

This module will transliterate Gondi language text. The module should preferably not be called directly from templates or other modules. To use it from a template, use {{xlit}}. Within a module, use Module:languages#Language:transliterate.

For testcases, see Module:gon-Gonm-translit/testcases.

Functions

tr(text, lang, sc)
Transliterates a given piece of text written in the script specified by the code sc, and language specified by the code lang.
When the transliteration fails, returns nil.

Testcases

[edit]

Module:gon-Gonm-translit/testcases:

All tests passed. (refresh)

TextExpectedActualComments
test_translit_gondi:
Passed𑴦𑴶independent <r̥> represented by independent <r> + dependent <r̥>
Passed𑴨𑴘𑵂𑴳vaṛīvaṛī<ṛ> represented as 𑴘𑵂
Passed𑴀𑴎𑵅𑴎aggaaggavirama
Passed𑴌𑴱𑴖𑵄kāṭkāṭword-final halanta
Passed𑴌𑴵𑴥𑵄𑴫𑴱kūysākūysāword-medial halanta
Passed𑴀𑵆𑴝𑴽ardoardorepha
Passed𑴑𑴱𑴠𑵇𑴱cāprācāprāra-kāra
Passed𑴆𑵃ĕĕ<ऍ> ĕ independent
Passed𑴁𑵃ŏŏ<ऑ> ŏ independent
Passed𑴌𑵃<ऍ> ĕ dependent
Passed𑴌𑴱𑵃<ऑ> ŏ dependent