|
| __construct (string $ipa, bool $strip=true, bool $normalize=false, bool $google=false) |
| Constructor.
|
|
|
| $originalIPA |
|
| $normalizedIPA |
|
| $valid |
|
|
| $ipaRegex = |
|
| $stripRegex = "/[\/\[\]]/ui" |
|
| $diacriticsRegex = "/[\x{0300}-\x{036f}]/ui" |
|
| $strip |
|
| $normalize |
|
| $google |
|
◆ __construct()
Wikimedia\IPAValidator\Validator::__construct |
( |
string | $ipa, |
|
|
bool | $strip = true, |
|
|
bool | $normalize = false, |
|
|
bool | $google = false ) |
Constructor.
- Parameters
-
string | $ipa | IPA to validate |
bool | $strip | Remove delimiters |
bool | $normalize | Normalize IPA |
bool | $google | Normalize IPA for Google TTS |
The documentation for this class was generated from the following file: