3using System.Threading.Tasks;
35 return Grade.NotAtAll;
53 return Grade.NotAtAll;
75 StringBuilder sb =
new StringBuilder();
77 GetText(Doc.
Root, sb);
81 return Task.CompletedTask;
84 private static void GetText(
HtmlNode N, StringBuilder Text)
93 Text.Append(Attr.
Value);
106 Text.Append(T.InlineText);
string Value
Attribute value.
HtmlElement Root
Root element.
Base class for all HTML elements.
Base class for all HTML nodes.
Tokenizes contents defined in an HTML document.
static Task Tokenize(HtmlDocument Doc, TokenizationProcess Process)
Tokenizes an HTML document.
HtmlTokenizer()
Tokenizes contents defined in an HTML document.
async Task Tokenize(object Value, TokenizationProcess Process)
Tokenizes an object.
Grade Supports(string Extension)
How well the file tokenizer supports files of a given extension.
Grade Supports(Type Type)
If the interface understands objects such as Type .
async Task Tokenize(FileReference Reference, TokenizationProcess Process)
Tokenizes an object.
Contains a reference to an indexed file.
CaseInsensitiveString FileName
Name of collection hosting object.
Task Tokenize(object Value, TokenizationProcess Process)
Tokenizes an object.
Contains information about a tokenization process.
static async Task< string > ReadAllTextAsync(string FileName)
Reads a text file asynchronously.
Interface for file tokenizers. Best tokenizer is selected
Interface for full-text-search tokenizers