JapanesePhoneticAnalyzer.GetWords(String, Boolean) | getWords(String, Boolean) method

Applies to Windows only

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.

Syntax


var iVectorView = Windows.Globalization.JapanesePhoneticAnalyzer.getWords(input, monoRuby);

Parameters

input

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

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

monoRuby

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

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.

Return value

Type: IVectorView<JapanesePhoneme> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<JapanesePhoneme> [.NET]

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

Remarks

See the remarks for JapanesePhoneticAnalyzer for a more complete discussion and example.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Globalization
Windows::Globalization [C++]

Metadata

Windows.winmd

See also

JapanesePhoneticAnalyzer
JapanesePhoneme
GetWords(String)

 

 

Show:
© 2014 Microsoft