code: def _error_if_word_invalid(word,
                             valid_words_dictionary,
                             technical_words_dictionary,
                             line_offset,
                             col_offset):
      
      word_lower = word.lower()
      valid_words_result = valid_words_dictionary.corrections(word_lower)
  
      if technical_words_dictionary:
          technical_words_result = technical_words_dictionary.corrections(word)
      else:
          # No technical words available to make an otherwise invalid
          # result value.
          technical_words_result = Dictionary.Result(False, list())
  
      if not valid_words_result.valid and not technical_words_result.valid:
          return SpellcheckError(word,
                                 line_offset,
                                 col_offset,
                                 valid_words_result.suggestions,
                                 SpellcheckError.InvalidWord)
docs: Return SpellcheckError if this non-technical word is invalid.