public interface SpellExpr
Modifier and Type | Method | Description |
---|---|---|
ServerExpression |
doubleMetaphone(ServerExpression word) |
Given a word returns the two metaphone
keys.
|
ServerExpression |
levenshteinDistance(ServerExpression str1,
ServerExpression str2) |
Given two strings, returns the Levenshtein
distance between those strings.
|
ServerExpression |
levenshteinDistance(ServerExpression str1,
java.lang.String str2) |
Given two strings, returns the Levenshtein
distance between those strings.
|
ServerExpression |
romanize(ServerExpression string) |
Returns the romanization of the string,
substituting basic Latin letters for the letters in the string,
according to their sound.
|
ServerExpression doubleMetaphone(ServerExpression word)
Provides a client interface to the spell:double-metaphone server function.
ServerExpression levenshteinDistance(ServerExpression str1, java.lang.String str2)
Provides a client interface to the spell:levenshtein-distance server function.
str1
- The first input string. (of xs:string)str2
- The second input string. (of xs:string)ServerExpression levenshteinDistance(ServerExpression str1, ServerExpression str2)
Provides a client interface to the spell:levenshtein-distance server function.
str1
- The first input string. (of xs:string)str2
- The second input string. (of xs:string)ServerExpression romanize(ServerExpression string)
Provides a client interface to the spell:romanize server function.
Copyright © 2022 MarkLogic Corporation