Class LayoutTokenizer
Class responsible for separating text into words.
Inheritance
System.Object
LayoutTokenizer
Namespace: Telerik.Windows.Documents.Utils
Assembly: Telerik.Windows.Documents.dll
Syntax
public static class LayoutTokenizer : Object
Methods
GetLayoutWordsFromText(String, Nullable<Boolean>, Boolean)
Gets the words from text.
Declaration
public static IEnumerable<LayoutTokenizer.LayoutWord> GetLayoutWordsFromText(string text, Nullable<bool> isPreviousRtl, bool stripNumbers = true)
Parameters
System.String
text
The text. |
System.Nullable<System.Boolean>
isPreviousRtl
Determines whether the content is in right-to-left mode. |
System.Boolean
stripNumbers
if set to |
Returns
System.Collections.Generic.IEnumerable<LayoutTokenizer.LayoutWord>
Collection ofLayoutTokenizer.LayoutWord objects representing the words inside the text. |