Keyoti SearchUnit API Docs
TxtDocumentParser Class
API DocumentationKeyoti.SearchEngine.DocumentsTxtDocumentParser
Keyoti SearchUnit v6
Parser for .txt documents.
Declaration Syntax
C#Visual Basic
public class TxtDocumentParser : Parser
Public Class TxtDocumentParser
	Inherits Parser
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
TxtDocumentParser(Configuration)
Creates an instance of TxtDocumentParser class.

Configuration
Gets the instance of the Configuration class that holds the settings to be used.
(Inherited from Parser.)
CopyStream(Stream) (Inherited from Parser.)
Encoding
The character encoding used in the document Stream, if applicable.
(Inherited from Parser.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
FindUrlsInPlainText(String) (Inherited from Parser.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetHiddenFooter(Uri, String, String)
Creates a footer with additional (hidden) indexed text, based on Uri, Title, meta tags etc.
(Inherited from Parser.)
GetNextWord(String)
Returns the next 'word' in rawBody, is iterative, so subsequent calls move to consecutive words.
(Inherited from Parser.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
GetWordsInUri(Uri)
Returns list of words as strings in an ArrayList, that are in the Uri
(Inherited from Parser.)
IsCurrentWordInTitle()()()()
Returns whether the word last returned by GetNextWord is part of the title.
(Inherited from Parser.)
IsInIgnoredRegion(ArrayList)
Determines whether current word (at wordStart) is in an ignored region.
(Inherited from Parser.)
IsStreamNeeded()()()() Obsolete.
Whether the parser would need a stream to be passed to it in order to perform a ReadText or ReadLinks operation.
(Inherited from Parser.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ParseWords(String, ArrayList, WordCollection, StringBuilder, ArrayList)
Parses rawBody into descrete Word objects and places them in readDocumentWords.
(Inherited from Parser.)
PreprocessBreakChunk(String)
Applies any required processing to a chunk of text that typically forms either a word or whitespace block.
(Inherited from Parser.)
ProcessWordsToFinalIndexedList(WordCollection, Boolean)
Processes the list of all words found in the document and returns a list that should be index.
(Inherited from Parser.)
ProcessWordsToFinalIndexedList(WordCollection, Boolean, ArrayList)
Processes the list of all words found in the document and returns a list that should be index.
(Inherited from Parser.)
Read(Stream, Document, Encoding)
Reads a document and returns an object holding it's text and any links.
(Overrides Parser.Read(Stream, Document, Encoding).)
Read(String, Document, Encoding)
Read the document

ReadLinks(Stream, Encoding) Obsolete.
Reads links to other pages.
(Inherited from Parser.)
ReadText(Stream, Uri, Encoding) Obsolete.
Reads text and returns list of words and title
(Inherited from Parser.)
ResetWordPointers()()()()
Resets the current word being processed.
(Inherited from Parser.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
TruncateWordWithRepeatedChar(String)
Removes repeated non-letters from word.
(Inherited from Parser.)
WordEnd
The current word's end.
(Inherited from Parser.)
WordStart
The current word's start.
(Inherited from Parser.)
Inheritance Hierarchy

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610