Token Classe

Rappresenta un singolo token, ad esempio una parola in una stringa di input.

Costruttore

Token(start: int, end: int, text: str, normalized: str)

Parametri

Nome Descrizione
start
Necessario
<xref:<xref:botbuilder.dialogs.choices.The index> of <xref:botbuilder.dialogs.choices.the first character> of <xref:the token within the outer input string.>>
end
Necessario
<xref:<xref:botbuilder.dialogs.choices.The index> of <xref:botbuilder.dialogs.choices.the last character> of <xref:the token within the outer input string.>>
text
Necessario
<xref:<xref:botbuilder.dialogs.choices.The original text> of <xref:the token.>>
normalized
Necessario
<xref:<xref:botbuilder.dialogs.choices.A normalized version> of <xref:the token. This can include things like lower casing>> oppure <xref:stemming.>