Module:ru-pron/documentation

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

This module generates IPA for Russian words. There are three entry points:

  • ru_IPA() directly implements Template:ru-IPA, and is meant to be called from that template.
  • ipa() generates the raw IPA for Cyrillic text and is meant to be called from other code. It returns a list.
  • ipa_string() generates the raw IPA for Cyrillic text and is meant to be called from other code (e.g. from Module:ru-pron/testcases) or as a template (this is used in User:Benwing2's bot scripts). It returns a string, with multiple variants separated by comma+space.

The primary documentation for this module can be found in the documentation for Template:ru-IPA.

Testcases[edit]