Skip to main content

%DeepSee.extensions.utils.StringMatchUtils

Class %DeepSee.extensions.utils.StringMatchUtils Extends %RegisteredObject [ System = 4 ]

Methods

tokenize

ClassMethod tokenize(value As %String, Output array) As %Status

getNumberOfTokens

ClassMethod getNumberOfTokens(ByRef value As %String, Output n As %Integer, pattern As %String = "") As %Status

str2arr

ClassMethod str2arr(value As %String, Output array) As %Status

compareNGrams

ClassMethod compareNGrams(v1 As %String, v2 As %String, Output dist, ByRef costs = "", normalizeCode As %String = "") As %Status

compareMonoGrams

ClassMethod compareMonoGrams(v1 As %String, v2 As %String, Output dist, ByRef costs = "") As %Status

ldist

ClassMethod ldist(v1 As %String, v2 As %String, ByRef costs = "") As %Double

compareArr

ClassMethod compareArr(ByRef s, ByRef t, Output dist, ByRef costs, normalizeCode As %String) As %Status

nml

ClassMethod nml(code As %String, v As %String) As %String