Reads text and returns list of words and title
Declaration Syntax
C# | Visual Basic |
[ObsoleteAttribute("Use Read method instead.", true)] public Object[] ReadText( Stream stream, Uri uri, Encoding encoding )
<ObsoleteAttribute("Use Read method instead.", true)> Public Function ReadText ( stream As Stream, uri As Uri, encoding As Encoding ) As Object()
Return Value
Remarks
Eg.
A document contains 4 words;
"this", "is", "this", "example".
The document's title is;
"example"
The document's URL is;
http://localhost/example.html
If phrase matching is enabled, returns the following data:
If phrase matching is disabled, returns the following data:
Copy | |
---|---|
wordsList[0] = "this", inUri=0, inTitle=0, inBody=1 wordsList[1] = "is", inUri=0, inTitle=0, inBody=1 wordsList[2] = "this", inUri=0, inTitle=0, inBody=1 wordsList[3] = "example", inUri=1, inTitle=1, inBody=1 |
Copy | |
---|---|
wordsList[0] = "this", inUri=0, inTitle=0, inBody=2 wordsList[1] = "is", inUri=0, inTitle=0, inBody=1 wordsList[2] = "example", inUri=1, inTitle=1, inBody=1 |
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610