code: def _build_generalized(self, xs):
          
          terminal_gen = self._terminalSymbolsGenerator()
  
          _xs = ''.join([x + next(terminal_gen) for x in xs])
          self.word = _xs
          self._generalized_word_starts(xs)
          self._build(_xs)
          self.root._traverse(self._label_generalized)
docs: Builds a Generalized Suffix Tree (GST) from the array of strings provided.