Divooka Reference

Pronunciation

6 nodes

On this page 6

Phonics

Function

A 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/.

Signature
Phonics(text: Text) -> Text
string Phonics(string text = "The ship sails at night.")

Parameters

nametypedefaultdescription
textTextThe ship sails at night.English text.

Returns

PhonicsText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pronunciation
Package
Audio Processing

Phonics Parts

Function

The 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/.

Signature
PhonicsParts(text: Text) -> Phonics Part Array
PhonicsPart[] PhonicsParts(string text = "The ship sails at night.")

Parameters

nametypedefaultdescription
textTextThe ship sails at night.English text: a word, a phrase or a sentence.

Returns

PartsPhonics Part Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pronunciation
Package
Audio Processing

Pinyin Breakdown

Function

Each syllable of Chinese text split into its initial, final and tone (声母、韵母、声调), one a line, as children are taught pinyin - 好 hǎo: h + ao, ˇ.

Signature
PinyinBreakdown(text: Text, tones: Pinyin Tones) -> Text
string PinyinBreakdown(
    string text = "你好",
    PinyinTones tones = PinyinTones.Marks)

Parameters

nametypedefaultdescription
textText你好Chinese text.
tonesPinyin TonesMarksEach tone as its mark (ˇ) or as its number (3).

Returns

BreakdownText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pronunciation
Package
Audio Processing

Text to IPA

Function

English text in the International Phonetic Alphabet, as General American says it - "Hello, world." is həˈloʊ, wɝld.

Signature
TextToIpa(text: Text) -> Text
string TextToIpa(string text = "Hello, world.")

Parameters

nametypedefaultdescription
textTextHello, world.English text.

Returns

IPAText

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

Function

The phonemes English text is said with, in ARPABET - "Hello, world." is HH AX0 L OW1, W ER1 L D.

Signature
TextToPhonemes(text: Text) -> Text
string TextToPhonemes(string text = "Hello, world.")

Parameters

nametypedefaultdescription
textTextHello, world.English text.

Returns

PhonemesText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pronunciation
Package
Audio Processing

Text to Pinyin

Function

Chinese 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.

Signature
TextToPinyin -> Text
    text: Text
    tones: Pinyin Tones
    spoken: Truth
string TextToPinyin(
    string text = "你好,世界。",
    PinyinTones tones = PinyinTones.Marks,
    bool spoken = false)

Parameters

nametypedefaultdescription
textText你好,世界。Chinese text.
tonesPinyin TonesMarksMarks over the vowels (nǐ hǎo), or numbers after the syllables (ni3 hao3), 5 for the neutral tone.
spokenTruthFalseWrite the tones as they are said: 你好 is said ní hǎo, and 一 and 不 change before other tones.

Returns

PinyinText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Pronunciation
Package
Audio Processing