Condividi tramite


SelectableWordsSegmenter.GetTokens(String) Metodo

Definizione

Determina e restituisce tutte le parole o le parole selezionabili nel testo specificato.

public:
 virtual IVectorView<SelectableWordSegment ^> ^ GetTokens(Platform::String ^ text) = GetTokens;
IVectorView<SelectableWordSegment> GetTokens(winrt::hstring const& text);
public IReadOnlyList<SelectableWordSegment> GetTokens(string text);
function getTokens(text)
Public Function GetTokens (text As String) As IReadOnlyList(Of SelectableWordSegment)

Parametri

text
String

Platform::String

winrt::hstring

Testo contenente parole o parole da selezionare.

Restituisce

Raccolta di oggetti SelectableWordSegment che rappresentano le parole o le parole selezionabili.

Commenti

Si noti che alcune lingue non usano spazi (ad esempio giapponese o cinese) e alcune lingue possono restituire più stem di parola per parole composte (ad esempio tedesco).

Si applica a