pub fn stem(word: &str) -> StringExpand description
Simple English suffix stripping for code search.
Strips one layer of common suffixes to produce a stem that matches related word forms. Conservative: requires at least 4 chars remaining after stripping to avoid over-stemming.
Examples: authenticate → authenticat (matches authentication, authenticated) handling → handl (matches handler, handle, handled) errors → error connection → connect (matches connected, connecting)