diff --git a/opteryx/__version__.py b/opteryx/__version__.py index b5de5538..8ab44407 100644 --- a/opteryx/__version__.py +++ b/opteryx/__version__.py @@ -1,4 +1,4 @@ -__build__ = 970 +__build__ = 971 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/opteryx/compiled/functions/vectors.pyx b/opteryx/compiled/functions/vectors.pyx index ca54d90b..ba6cc985 100644 --- a/opteryx/compiled/functions/vectors.pyx +++ b/opteryx/compiled/functions/vectors.pyx @@ -313,8 +313,4 @@ cpdef inline bytes lemmatize(char* word, int word_len): if word_len > 2 and strncmp(word + word_len - 1, b"s", 1) == 0: return word[:word_len - 1] - # Check 'e' ending - if word_len > 2 and strncmp(word + word_len - 1, b"e", 1) == 0: - return word[:word_len - 1] - return word # Return the original if no suffix matches