Skip to main content

TrigramWordDistance

This class provides a mechanism for calculating the distance between words based on trigram similarity. It utilizes a specific argument joiner to facilitate the comparison of textual data within database queries.

Attributes

AttributeTypeDescription
functionstringThe database function name used to calculate the trigram word distance between two strings.
arg_joinerstring = < < - >The SQL operator used to join arguments in the generated database expression.

Constructor

Signature

def TrigramWordDistance() - > null