def get_punctuation_tokens()

in src/speechbox/restore.py [0:0]


    def get_punctuation_tokens(self):
        punctuation_tokens = []
        for i in range(len(self.tokenizer)):
            if self.tokenizer.convert_ids_to_tokens(i) in list(string.punctuation):
                punctuation_tokens.append(i)
        return punctuation_tokens