TextPhoneme TextPhoneme TextPhoneme TextPhoneme Class

Definition

Represents the result of calling the TextReverseConversionGenerator.GetPhonemesAsync method, encapsulating both the original display text and the phonemes that match the original display text.

public : sealed class TextPhoneme : ITextPhonemepublic sealed class TextPhoneme : ITextPhonemePublic NotInheritable Class TextPhoneme Implements ITextPhoneme// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Your code does not instantiate objects of this class. Rather, objects are instantiated and returned to you as the output of the TextReverseConversionGenerator.GetPhonemesAsync method.

Properties

DisplayText DisplayText DisplayText DisplayText

Gets the display text for a Japanese phoneme.

public : PlatForm::String DisplayText { get; }public string DisplayText { get; }Public ReadOnly Property DisplayText As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The display text as originally passed to TextReverseConversionGenerator.GetPhonemesAsync. In the typical use case of passing a Japanese sentence to that method, the display text is one phonetic part of the sentence in Kanji or a mix of Kanji and phonetic characters.

ReadingText ReadingText ReadingText ReadingText

Gets the phonetic reading of the DisplayText, with Japanese characters in Hiragana.

public : PlatForm::String ReadingText { get; }public string ReadingText { get; }Public ReadOnly Property ReadingText As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The reading of the DisplayText, with Japanese characters in Hiragana.

For an example, for the input string "今日はいい天気", the display texts are '"今日", "は", "いい", "天気"' and the corresponding reading texts are "きょう", "は", "いい", "てんき".