mirror of
https://github.com/django/django.git
synced 2024-11-21 19:09:18 +01:00
Added back missing Trigram classes.
This commit is contained in:
parent
03d45a2047
commit
53cea8e893
@ -388,6 +388,24 @@ class TrigramDistance(TrigramBase):
|
||||
arg_joiner = " <-> "
|
||||
|
||||
|
||||
class TrigramWordDistance(TrigramWordBase):
|
||||
function = ""
|
||||
arg_joiner = " <<-> "
|
||||
|
||||
|
||||
class TrigramStrictWordDistance(TrigramWordBase):
|
||||
function = ""
|
||||
arg_joiner = " <<<-> "
|
||||
|
||||
|
||||
class TrigramWordSimilarity(TrigramWordBase):
|
||||
function = "WORD_SIMILARITY"
|
||||
|
||||
|
||||
class TrigramStrictWordSimilarity(TrigramWordBase):
|
||||
function = "STRICT_WORD_SIMILARITY"
|
||||
|
||||
|
||||
class LexemeCombinable:
|
||||
BITAND = "&"
|
||||
BITOR = "|"
|
||||
|
Loading…
Reference in New Issue
Block a user