kmn1024
2025-06-25 443bc09c11f3cf89ffc573aab2021f0c933aa5b3
funasr/tokenizer/abs_tokenizer.py
@@ -62,7 +62,7 @@
                raise RuntimeError(f"Unknown symbol '{unk_symbol}' doesn't exist in the token_list")
            self.unk_id = self.token2id[self.unk_symbol]
    def encode(self, text):
    def encode(self, text, **kwargs):
        tokens = self.text2tokens(text)
        text_ints = self.tokens2ids(tokens)