docstr: Reimplementation of the recalc_char_ngram_buckets method of
  gensim. This overwrite is needed to call our ft_ngram_hashes method.
docstr_tok: ["Reimplementation","of","the","recalc_char_ngram_buckets","method","of","gensim",".","This","overwrite","is","needed","to","call","our","ft_ngram_hashes","method","."]
code: def recalc_char_ngram_buckets(self) -> None:
      """Reimplementation of the recalc_char_ngram_buckets method of
      gensim. This overwrite is needed to call our ft_ngram_hashes method.
  
      """
      if self.bucket == 0:
          self.buckets_word = [np.array([], dtype=np.uint32)] * len(
              self.index_to_key
          )
          return
  
      self.buckets_word = [None] * len(self.index_to_key)  # type:ignore
  
      for i, word in enumerate(self.index_to_key):
          self.buckets_word[i] = np.array(
              self.ft_ngram_hashes(word, 0, 0, self.bucket),
              dtype=np.uint32,
          )
  
imports: from __future__ import annotations
  import re
  from typing import Any, List
  import attr
  import numpy
  from gensim.models.fasttext import FastText
  from gensim.models.fasttext import FastTextKeyedVectors
  from numpy import float32
  from numpy import ones
  from pyrdf2vec.embedders import Embedder
  from pyrdf2vec.typings import Embeddings, Entities, SWalk
label_desc: Use image node_id 3 for calling the RDFFastTextKeyedVectors obj's underlying member method code with example usage: obj.recalc_char_ngram_buckets() without return types