Skip to content

Commit

Permalink
Merge pull request #2222 from mabel-dev/#2220
Browse files Browse the repository at this point in the history
  • Loading branch information
joocer authored Jan 8, 2025
2 parents 1a95899 + 09176b1 commit f4a7a5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion opteryx/__version__.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 0 additions & 4 deletions opteryx/compiled/functions/vectors.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f4a7a5b

Please sign in to comment.