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