Keyoti SearchUnit API Docs
TruncateWordWithRepeatedChar Method (word)
API DocumentationKeyoti.SearchEngine.DocumentsParserTruncateWordWithRepeatedChar(String)
Keyoti SearchUnit v6
Removes repeated non-letters from word.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
protected virtual string TruncateWordWithRepeatedChar(
	string word
)
protected virtual string TruncateWordWithRepeatedChar(
	string word
)
Protected Overridable Function TruncateWordWithRepeatedChar ( 
	word As String
) As String
Protected Overridable Function TruncateWordWithRepeatedChar ( 
	word As String
) As String
protected:
virtual String^ TruncateWordWithRepeatedChar(
	String^ word
)
protected:
virtual String^ TruncateWordWithRepeatedChar(
	String^ word
)
abstract TruncateWordWithRepeatedChar : 
        word : string -> string 
override TruncateWordWithRepeatedChar : 
        word : string -> string 
abstract TruncateWordWithRepeatedChar : 
        word : string -> string 
override TruncateWordWithRepeatedChar : 
        word : string -> string 
Parameters
word (String)
Return Value
String
word without repeated whitespace
Remarks
This is required because although whitespace must be indexed, long repeated chunks are not useful.

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