MediaWiki  REL1_31
MediaWiki\Languages\Data\CrhExceptions Class Reference

Public Member Functions

 __construct ()
 
 loadExceptions ( $lcChars, $ucChars)
 
 loadRegs ()
 

Public Attributes

 $Cyrl2LatnPatterns = []
 
 $exceptionMap = []
 
 $Latn2CyrlPatterns = []
 

Private Member Functions

 addMappings ( $mapArray, &$A2B, &$B2A, $exactCase=false, $prePat='', $postPat='')
 
 initLcUc ( $lcChars, $ucChars, $reinit=false)
 
 myLc ( $string)
 
 myUc ( $string)
 
 myUcWord ( $string)
 

Private Attributes

 $Cyrl2LatnRegexes = []
 
 $CyrlCleanUpRegexes
 
 $exactCaseMappings
 
 $Latn2CyrlRegexes = []
 
 $lc2uc
 
 $prefixMapping
 
 $suffixMapping
 
 $uc2lc
 
 $wordMappings
 

Detailed Description

Definition at line 14 of file CrhExceptions.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Languages\Data\CrhExceptions::__construct ( )

Member Function Documentation

◆ addMappings()

MediaWiki\Languages\Data\CrhExceptions::addMappings (   $mapArray,
$A2B,
$B2A,
  $exactCase = false,
  $prePat = '',
  $postPat = '' 
)
private

◆ initLcUc()

MediaWiki\Languages\Data\CrhExceptions::initLcUc (   $lcChars,
  $ucChars,
  $reinit = false 
)
private

◆ loadExceptions()

◆ loadRegs()

MediaWiki\Languages\Data\CrhExceptions::loadRegs ( )

◆ myLc()

MediaWiki\Languages\Data\CrhExceptions::myLc (   $string)
private

Definition at line 47 of file CrhExceptions.php.

Referenced by MediaWiki\Languages\Data\CrhExceptions\myUcWord().

◆ myUc()

MediaWiki\Languages\Data\CrhExceptions::myUc (   $string)
private

◆ myUcWord()

MediaWiki\Languages\Data\CrhExceptions::myUcWord (   $string)
private

Member Data Documentation

◆ $Cyrl2LatnPatterns

MediaWiki\Languages\Data\CrhExceptions::$Cyrl2LatnPatterns = []

◆ $Cyrl2LatnRegexes

MediaWiki\Languages\Data\CrhExceptions::$Cyrl2LatnRegexes = []
private

◆ $CyrlCleanUpRegexes

MediaWiki\Languages\Data\CrhExceptions::$CyrlCleanUpRegexes
private

◆ $exactCaseMappings

MediaWiki\Languages\Data\CrhExceptions::$exactCaseMappings
private
Initial value:
= [
# аббревиатуры
# abbreviations
'ОБСЕ' => 'OBSE', 'КъМДж' => 'QMC', 'КъАЭ' => 'QAE', 'ГъСМК' => 'ĞSMK', 'ШСДжБ' => 'ŞSCB',
'КъМШСДж' => 'QMŞSC', 'КъДМПУ' => 'QDMPU', 'КъМПУ' => 'QMPU', 'КъЮШ' => 'QYŞ', 'ЮШ' => 'YŞ',
]

Definition at line 504 of file CrhExceptions.php.

◆ $exceptionMap

MediaWiki\Languages\Data\CrhExceptions::$exceptionMap = []

◆ $Latn2CyrlPatterns

MediaWiki\Languages\Data\CrhExceptions::$Latn2CyrlPatterns = []

◆ $Latn2CyrlRegexes

MediaWiki\Languages\Data\CrhExceptions::$Latn2CyrlRegexes = []
private

◆ $lc2uc

MediaWiki\Languages\Data\CrhExceptions::$lc2uc
private

Definition at line 24 of file CrhExceptions.php.

◆ $prefixMapping

MediaWiki\Languages\Data\CrhExceptions::$prefixMapping
private
Initial value:
= [
# originally C2L
'буюк([^ъ])' => 'büyük$1', 'бую([гдйлмнпрстчшc])(и)' => 'büyü$1$2',
'буют([^ыа])' => 'büyüt$1', 'джонк([^ъ])' => 'cönk$1', 'коюм' => 'köyüm', 'коюнъ' => 'köyüñ',
'коюн([ди])' => 'köyün$1', 'куе' => 'küye', 'куркке' => 'kürkke', 'куркни' => 'kürkni',
'куркте' => 'kürkte', 'куркчи' => 'kürkçi', 'куркчю' => 'kürkçü',
# арабизмы на муи- муэ- / Arabic муи- муэ-
'му([иэИЭ])' => 'mü$1',
# originally L2C, here swapped
'итъаль' => 'ital',
'роль$1' => 'rol([^ü])',
'усть$1' => 'üst([knt])',
]

Definition at line 531 of file CrhExceptions.php.

◆ $suffixMapping

MediaWiki\Languages\Data\CrhExceptions::$suffixMapping
private
Initial value:
= [
# originally C2L
'иаль' => 'ial', 'нуль' => 'nul', 'кой' => 'köy', 'койнинъ' => 'köyniñ', 'койни' => 'köyni',
'койге' => 'köyge', 'койде' => 'köyde', 'койдеки' => 'köydeki', 'койден' => 'köyden',
'козь' => 'köz',
# originally L2C, here swapped
'етсин' => 'etsin',
]

Definition at line 516 of file CrhExceptions.php.

◆ $uc2lc

MediaWiki\Languages\Data\CrhExceptions::$uc2lc
private

Definition at line 25 of file CrhExceptions.php.

◆ $wordMappings

MediaWiki\Languages\Data\CrhExceptions::$wordMappings
private

Definition at line 112 of file CrhExceptions.php.


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