Keyoti SearchUnit API Docs
ReadText Method (stream, uri, encoding)
API DocumentationKeyoti.SearchEngine.DocumentsParserReadText(Stream, Uri, Encoding)
Keyoti SearchUnit v6
Reads text and returns list of words and title
Declaration Syntax
C#C#Visual BasicVisual BasicVisual 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[] 
Parameters
stream (Stream)
Stream Object
uri (Uri)
Uri object
encoding (Encoding)
Encoding object
Return Value
array<Object>[]()[][]
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:
 Copy imageCopy
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
If phrase matching is disabled, returns the following data:
 Copy imageCopy
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