Share via


JapanesePhoneticAnalyzer.GetWords Method

Definition

Overloads

GetWords(String)

Reads a Japanese string that is a combination of Kanji characters and Hiragana characters, and returns a collection of proper readings from the string with word breaks.

GetWords(String, Boolean)

Reads a Japanese string that is a combination of Kanji characters and Hiragana characters, and returns a collection of proper readings from the string with word breaks. Optionally uses the "Mono Ruby" strategy in breaking multi-Kanji words into multiple Kanji words.

GetWords(String)

Reads a Japanese string that is a combination of Kanji characters and Hiragana characters, and returns a collection of proper readings from the string with word breaks.

public:
 static IVectorView<JapanesePhoneme ^> ^ GetWords(Platform::String ^ input);
/// [Windows.Foundation.Metadata.Overload("GetWords")]
 static IVectorView<JapanesePhoneme> GetWords(winrt::hstring const& input);
[Windows.Foundation.Metadata.Overload("GetWords")]
public static IReadOnlyList<JapanesePhoneme> GetWords(string input);
function getWords(input)
Public Shared Function GetWords (input As String) As IReadOnlyList(Of JapanesePhoneme)

Parameters

input
String

Platform::String

winrt::hstring

A Japanese string that is a combination of Kanji characters and Hiragana characters.

The maximum length of this string is 100 characters.

Returns

A collection of JapanesePhoneme objects that represent proper readings from the string with word breaks.

Attributes

See also

Applies to

GetWords(String, Boolean)

Reads a Japanese string that is a combination of Kanji characters and Hiragana characters, and returns a collection of proper readings from the string with word breaks. Optionally uses the "Mono Ruby" strategy in breaking multi-Kanji words into multiple Kanji words.

public:
 static IVectorView<JapanesePhoneme ^> ^ GetWords(Platform::String ^ input, bool monoRuby);
/// [Windows.Foundation.Metadata.Overload("GetWordsWithMonoRubyOption")]
 static IVectorView<JapanesePhoneme> GetWords(winrt::hstring const& input, bool const& monoRuby);
[Windows.Foundation.Metadata.Overload("GetWordsWithMonoRubyOption")]
public static IReadOnlyList<JapanesePhoneme> GetWords(string input, bool monoRuby);
function getWords(input, monoRuby)
Public Shared Function GetWords (input As String, monoRuby As Boolean) As IReadOnlyList(Of JapanesePhoneme)

Parameters

input
String

Platform::String

winrt::hstring

A Japanese string that is a combination of Kanji characters and Hiragana characters.

The maximum length of this string is 100 characters.

monoRuby
Boolean

bool

Specifies the use of the word-breaking strategy "Mono Ruby". If true, the word-breaking strategy "Mono Ruby" is used. "Mono Ruby" more aggressively attempts to break multi-Kanji words into multiple Kanji words.

If false, "Mono Ruby" is not used.

Returns

A collection of JapanesePhoneme objects that represent proper readings from the string with word breaks.

Attributes

See also

Applies to