def __init__(self, is_root=False, alphabet=None):
        if is_root and alphabet is not None:
            self.path = {token: NaiveTrie() for token in alphabet}
        else:
            self.path = {}
        self.is_root = is_root
        self.is_terminal = True
        self.NULL_CHAR = 'NULL'
dataset/ETHPy150Open christabor/MoAL/MOAL/data_structures/trees/trie.py/NaiveTrie.__init__/original