Pronunciation
6 nodes
On this page 6
Phonics
FunctionA phonics reading of English text, one word a line: each word's letters in runs, each run with the sound it makes - light: l /l/ · igh /aɪ/ · t /t/.
Phonics(text: Text) -> Text
string Phonics(string text = "The ship sails at night.")
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | The ship sails at night. | English text. |
Returns
| Phonics | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Pronunciation
- Package
- Audio Processing
Phonics Parts
FunctionThe phonics reading of English text as parts a program can lay out: each run of letters with the sound it makes, in IPA and in the phonemes Speak says, and the word it belongs to - "ship" is sh /ʃ/, i /ɪ/, p /p/.
PhonicsParts(text: Text) -> Phonics Part Array
PhonicsPart[] PhonicsParts(string text = "The ship sails at night.")
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | The ship sails at night. | English text: a word, a phrase or a sentence. |
Returns
| Parts | Phonics Part Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Pronunciation
- Package
- Audio Processing
Pinyin Breakdown
FunctionEach syllable of Chinese text split into its initial, final and tone (声母、韵母、声调), one a line, as children are taught pinyin - 好 hǎo: h + ao, ˇ.
PinyinBreakdown(text: Text, tones: Pinyin Tones) -> Text
string PinyinBreakdown(
string text = "你好",
PinyinTones tones = PinyinTones.Marks)Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | 你好 | Chinese text. |
| tones | Pinyin Tones | Marks | Each tone as its mark (ˇ) or as its number (3). |
Returns
| Breakdown | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Pronunciation
- Package
- Audio Processing
Text to IPA
FunctionEnglish text in the International Phonetic Alphabet, as General American says it - "Hello, world." is həˈloʊ, wɝld.
TextToIpa(text: Text) -> Text
string TextToIpa(string text = "Hello, world.")
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | Hello, world. | English text. |
Returns
| IPA | Text |
Remarks
A word of two syllables or more marks its stressed syllable with ˈ before it, as dictionaries do. The sounds are the ones Speak Text says, so a word is written as the sentence uses it.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Pronunciation
- Package
- Audio Processing
Text to Phonemes
FunctionThe phonemes English text is said with, in ARPABET - "Hello, world." is HH AX0 L OW1, W ER1 L D.
TextToPhonemes(text: Text) -> Text
string TextToPhonemes(string text = "Hello, world.")
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | Hello, world. | English text. |
Returns
| Phonemes | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Pronunciation
- Package
- Audio Processing
Text to Pinyin
FunctionChinese text in pinyin, each character read as the phrase it is in reads it - 银行 is yín háng, 行走 xíng zǒu - with tone marks or tone numbers.
TextToPinyin -> Text
text: Text
tones: Pinyin Tones
spoken: Truthstring TextToPinyin(
string text = "你好,世界。",
PinyinTones tones = PinyinTones.Marks,
bool spoken = false)Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | 你好,世界。 | Chinese text. |
| tones | Pinyin Tones | Marks | Marks over the vowels (nǐ hǎo), or numbers after the syllables (ni3 hao3), 5 for the neutral tone. |
| spoken | Truth | False | Write the tones as they are said: 你好 is said ní hǎo, and 一 and 不 change before other tones. |
Returns
| Pinyin | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Pronunciation
- Package
- Audio Processing