Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| LanguageProficiencyLevel | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\WikispeechSpeechDataCollector\Domain; |
| 4 | |
| 5 | /** |
| 6 | * @file |
| 7 | * @ingroup Extensions |
| 8 | * @license GPL-2.0-or-later |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * How well a user pronounce a specific dialect {@link UserDialect} of a language, |
| 13 | * or how well a user understands a language {@link UserLanguageProficiencyLevel} |
| 14 | * in written or spoken form. |
| 15 | * |
| 16 | * Based on Babel levels. |
| 17 | * https://www.mediawiki.org/wiki/Extension:Babel |
| 18 | * |
| 19 | * @since 0.1.0 |
| 20 | */ |
| 21 | class LanguageProficiencyLevel { |
| 22 | public const NONE = 0; |
| 23 | public const BASIC = 1; |
| 24 | public const INTERMEDIATE = 2; |
| 25 | public const ADVANCED = 3; |
| 26 | public const NEAR_NATIVE = 4; |
| 27 | public const PROFESSIONAL = 5; |
| 28 | public const NATIVE = 6; |
| 29 | } |