public interface SpellExpr
Modifier and Type | Method and Description |
---|---|
XsStringSeqExpr |
doubleMetaphone(ServerExpression word)
Given a word returns the two metaphone keys.
|
XsIntegerExpr |
levenshteinDistance(ServerExpression str1,
ServerExpression str2)
Given two strings, returns the Levenshtein distance between those strings.
|
XsIntegerExpr |
levenshteinDistance(ServerExpression str1,
java.lang.String str2)
Given two strings, returns the Levenshtein distance between those strings.
|
XsStringExpr |
romanize(ServerExpression string)
Returns the romanization of the string, substituting basic Latin letters for the letters in the string, according to their sound.
|
XsStringSeqExpr doubleMetaphone(ServerExpression word)
Provides a client interface to the spell:double-metaphone server function.
XsIntegerExpr 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)XsIntegerExpr 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)XsStringExpr romanize(ServerExpression string)
Provides a client interface to the spell:romanize server function.
Copyright © 2013-2018 MarkLogic Corporation.