class_docstr: Chinese search implementation
code: def stem(self, word: str) -> str:
      # Don't stem Latin words that are long enough to be relevant for search
      # if not stemmed, but would be too short after being stemmed
      # avoids some issues with acronyms
      should_not_be_stemmed = (
          word in self.latin_terms
          and len(word) >= 3
          and len(self.stemmer.stemWord(word.lower())) < 3
      )
      if should_not_be_stemmed:
          return word.lower()
      return self.stemmer.stemWord(word.lower())
  
file_path: sphinx/sphinx/search/zh.py
imports: from __future__ import annotations
  import os
  import re
  from typing import TYPE_CHECKING, Dict, List
  import snowballstemmer
  from sphinx.search import SearchLanguage
label_desc: Use image node_id 4 for calling the SearchChinese obj's underlying member method code with example usage: obj.stem(word) and returns: self, word