Reads text and returns list of words and title
Declaration Syntax
C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
[ObsoleteAttribute("Use Read method instead.", true)] public Object[] ReadText( Stream stream, Uri uri, Encoding encoding )
[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()
<ObsoleteAttribute("Use Read method instead.", true)> Public Function ReadText ( stream As Stream, uri As Uri, encoding As Encoding ) As Object()
public: [ObsoleteAttribute(L"Use Read method instead.", true)] array<Object^>^ ReadText( Stream^ stream, Uri^ uri, Encoding^ encoding )
public: [ObsoleteAttribute(L"Use Read method instead.", true)] array<Object^>^ ReadText( Stream^ stream, Uri^ uri, Encoding^ encoding )
[<ObsoleteAttribute("Use Read method instead.", true)>] member ReadText : stream : Stream * uri : Uri * encoding : Encoding -> Object[]
[<ObsoleteAttribute("Use Read method instead.", true)>] member ReadText : stream : Stream * uri : Uri * encoding : Encoding -> 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: 2015.6.15.120