MediaWiki master
SrConverter Class Reference

Serbian (Српски / Srpski) specific code. More...

Inherits LanguageConverterSpecific.

Collaboration diagram for SrConverter:

Public Member Functions

 getLanguageVariants ()
 
 getMainCode ()
 
 getVariantsFallbacks ()
 
 guessVariant ( $text, $variant)
 
 translate ( $text, $variant)
 Omits roman numbers.
 
- Public Member Functions inherited from LanguageConverterSpecific
 findVariantLink (&$link, &$nt, $ignoreOtherCond=false)
 A function wrapper:
 

Protected Member Functions

 getAdditionalFlags ()
 
 loadDefaultTables ()
 

Detailed Description

Serbian (Српски / Srpski) specific code.

There are two levels of conversion for Serbian: the script level (Cyrillics <-> Latin), and the variant level (ekavian <->iyekavian). The two are orthogonal. So we really only need two dictionaries: one for Cyrillics and Latin, and one for ekavian and iyekavian.

Definition at line 32 of file SrConverter.php.

Member Function Documentation

◆ getAdditionalFlags()

SrConverter::getAdditionalFlags ( )
protected

Definition at line 86 of file SrConverter.php.

◆ getLanguageVariants()

SrConverter::getLanguageVariants ( )

Definition at line 74 of file SrConverter.php.

◆ getMainCode()

SrConverter::getMainCode ( )

Definition at line 70 of file SrConverter.php.

◆ getVariantsFallbacks()

SrConverter::getVariantsFallbacks ( )

Definition at line 78 of file SrConverter.php.

◆ guessVariant()

SrConverter::guessVariant ( $text,
$variant )

Definition at line 116 of file SrConverter.php.

◆ loadDefaultTables()

SrConverter::loadDefaultTables ( )
protected

Definition at line 99 of file SrConverter.php.

◆ translate()

SrConverter::translate ( $text,
$variant )

Omits roman numbers.

Definition at line 112 of file SrConverter.php.


The documentation for this class was generated from the following file: