nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / TextIndexing

TextIndexing

Full name Microsoft.VisualBasic.Text.Search.TextIndexing Assembly Microsoft.VisualBasic.Runtime Members 7

01 Syntax

Microsoft.VisualBasic.Text.Search.TextIndexing

02 Methods

NameOverloadsSummary
.ctor 1 Creates a text index instance object for the statement fuzzy match in the whole text document.
Found 2
IsMatch 1 函数返回最长的匹配的个数,-1表示没有匹配
FuzzyIndex 1
ToString 1

03 Properties

NameOverloadsSummary
cache 1 为了用于加速批量匹配计算的效率而生成的一个缓存对象

04 Members

method .ctor #
#ctor(String, Int32, Int32)

Creates a text index instance object for the statement fuzzy match in the whole text document.

Parameters
NameTypeDescription
textString

-

minInt32

-

maxInt32

-

method Found #
Found(String, Double, Int32)
Parameters
NameTypeDescription
keywordString

-

cutoffDouble

-

numPartitionInt32

每一个分区之中的元素的数量,负数表示不进行分区

method Found overload 2 #
Found(String, Int32)
Parameters
NameTypeDescription
keywordString

-

cutoffInt32

表示出现连续的m匹配的片段的长度,-1表示所搜索的关键词片段的长度一半

method IsMatch #
IsMatch(String, Int32)

函数返回最长的匹配的个数,-1表示没有匹配

Parameters
NameTypeDescription
mString

-

cutoffInt32

-

method FuzzyIndex #
FuzzyIndex(String, String, Int32, Int32, Int32)
Parameters
NameTypeDescription
textString

-

keywordString

-

MatchesInt32

The continues length of the matches, if this value is ZERO or negative value, then the function will using the expression len(keyword)/2 as the default value.

minInt32

-

maxInt32

-

property cache #
cache

为了用于加速批量匹配计算的效率而生成的一个缓存对象

method ToString #
ToString()