TextPredictionGenerator TextPredictionGenerator TextPredictionGenerator TextPredictionGenerator TextPredictionGenerator Class

Definition

Predicts Japanese words based on a phonetic characters prefix.

public : sealed class TextPredictionGenerator
struct winrt::Windows::Data::Text::TextPredictionGenerator
public sealed class TextPredictionGenerator
Public NotInheritable Class TextPredictionGenerator
var textPredictionGenerator = new textPredictionGenerator(languageTag);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Version history

Windows version SDK version Value added
1809 17763 GetCandidatesAsync(String,UInt32,TextPredictionOptions,IEnumerable)
1809 17763 GetNextWordCandidatesAsync
1809 17763 InputScope

Constructors

TextPredictionGenerator(String) TextPredictionGenerator(String) TextPredictionGenerator(String) TextPredictionGenerator(String) TextPredictionGenerator(String)

Constructs a TextPredictionGenerator object based on a specific BCP-47 language tag.

Properties

InputScope InputScope InputScope InputScope InputScope

Gets or sets the input scope for text prediction.

LanguageAvailableButNotInstalled LanguageAvailableButNotInstalled LanguageAvailableButNotInstalled LanguageAvailableButNotInstalled LanguageAvailableButNotInstalled

Determines if the language tag specified is available for generating predictions, but is not installed on the user's device.

ResolvedLanguage ResolvedLanguage ResolvedLanguage ResolvedLanguage ResolvedLanguage

Gets the language tag of the successfully created TextPredictionGenerator object.

Methods

GetCandidatesAsync(String) GetCandidatesAsync(String) GetCandidatesAsync(String) GetCandidatesAsync(String) GetCandidatesAsync(String)

Asynchronously retrieves a list of candidate words based on the provided phonetic characters prefix.

GetCandidatesAsync(String, UInt32) GetCandidatesAsync(String, UInt32) GetCandidatesAsync(String, UInt32) GetCandidatesAsync(String, UInt32) GetCandidatesAsync(String, UInt32)

Asynchronously retrieves a list of candidate words, up to a maximum count, based on the provided phonetic characters prefix.

GetCandidatesAsync(String, UInt32, TextPredictionOptions, IIterable<String>) GetCandidatesAsync(String, UInt32, TextPredictionOptions, IIterable<String>) GetCandidatesAsync(String, UInt32, TextPredictionOptions, IIterable<String>) GetCandidatesAsync(String, UInt32, TextPredictionOptions, IIterable<String>) GetCandidatesAsync(String, UInt32, TextPredictionOptions, IIterable<String>)

Asynchronously retrieves a list of candidate words, up to a maximum count, based on the provided phonetic characters prefix and options.

GetNextWordCandidatesAsync(UInt32, IIterable<String>) GetNextWordCandidatesAsync(UInt32, IIterable<String>) GetNextWordCandidatesAsync(UInt32, IIterable<String>) GetNextWordCandidatesAsync(UInt32, IIterable<String>) GetNextWordCandidatesAsync(UInt32, IIterable<String>)

Asynchronously retrieves a collection of strings containing next-word-prediction candidates.

See also