3using System.Threading.Tasks;
34 return Grade.NotAtAll;
55 StringBuilder sb =
new StringBuilder();
59 Append(sb, ref First, Data.
Title);
61 Append(sb, ref First, Data.
SiteName);
62 Append(sb, ref First, Data.
Locale);
65 if (!(Data.
Images is
null))
73 return Task.CompletedTask;
76 private static void Append(StringBuilder Text, ref
bool First,
string[] Value)
80 foreach (
string s
in Value)
81 Append(Text, ref First, s);
85 private static void Append(StringBuilder Text, ref
bool First,
string Value)
87 if (!
string.IsNullOrEmpty(Value))
Image information, as defined by the Open Graph protocol.
string Description
A description of what is in the image (not a caption). If not defined, null is returned.
Contains meta-data about a page.
ImageInformation[] Images
Image representing page.
string Description
A description of the page.
string Title
Title of page.
string Determiner
A word that appears before the title.
string Locale
Locale of information.
string SiteName
Name of web site publishing page
string[] LocaleAlternate
Alternate locales
Tokenizes meta-data information about some Internet Content.
static Task Tokenize(PageMetaData Data, TokenizationProcess Process)
Tokenizes an HTML document.
Grade Supports(Type Type)
If the interface understands objects such as Type .
async Task Tokenize(object Value, TokenizationProcess Process)
Tokenizes an object.
PageMetaDataTokenizer()
Tokenizes meta-data information about some Internet Content.
Task Tokenize(object Value, TokenizationProcess Process)
Tokenizes an object.
Contains information about a tokenization process.
Interface for full-text-search tokenizers