共用方式為


TextReverseConversionGenerator.GetPhonemesAsync(String) 方法

定義

傳回一組代表指定輸入字串的 phonemes。 這個方法主要是用於日文中排序資料。 注音讀取對於日文資料處理很重要,特別是以適當的注音順序排序名稱,而不是以字元碼點順序排序。

日文中的適當名稱,在漢字中以不同方式拼字時聽起來相同。 依 phonemes 排序的點是排序指定適當名稱的所有不同漢字拼字拼字,以在排序清單中彼此旁邊,而不是依字元代碼點排序它們,並讓各種拼字不會彼此排序。

public:
 virtual IAsyncOperation<IVectorView<TextPhoneme ^> ^> ^ GetPhonemesAsync(Platform::String ^ input) = GetPhonemesAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<TextPhoneme>> GetPhonemesAsync(winrt::hstring const& input);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<TextPhoneme>> GetPhonemesAsync(string input);
function getPhonemesAsync(input)
Public Function GetPhonemesAsync (input As String) As IAsyncOperation(Of IReadOnlyList(Of TextPhoneme))

參數

input
String

Platform::String

winrt::hstring

字串,包含日文中的單字。

傳回

成功完成非同步作業時, TextPhoneme 物件清單,代表 phoneme 格式的輸入字串。

屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

結果清單中的每個 TextPhoneme 都有下列屬性。

適用於