Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
joocer committed Jan 8, 2025
1 parent 34d949a commit 09176b1
Showing 1 changed file with 0 additions and 4 deletions.
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 09176b1

Please sign in to comment.