def __constructTree(self):

        wordsLst = []
        wordsLst = self.__text.split()
        wordsLst.append("$$$")

        nodes_added = SuffixTreeNode.addSuffix(self.__root, self.__root, wordsLst, self.__path_cnt)
        if nodes_added > 0:
            self.__trie_size += nodes_added
            self.__path_cnt += 1
        return None
dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Grammar-Xtrctr/myTrie1.py/SimpleSuffixTree.__constructTree/original