From 30f0c7ff2941ab08edb8cb257eb6cef74be42ec7 Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期四, 10 八月 2023 10:21:01 +0800
Subject: [PATCH] for cpp websocket core dump (#828)
---
funasr/text/char_tokenizer.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/funasr/text/char_tokenizer.py b/funasr/text/char_tokenizer.py
index 00ae427..8d1daf4 100644
--- a/funasr/text/char_tokenizer.py
+++ b/funasr/text/char_tokenizer.py
@@ -4,7 +4,6 @@
from typing import Union
import warnings
-from typeguard import check_argument_types
from funasr.text.abs_tokenizer import AbsTokenizer
@@ -16,7 +15,6 @@
space_symbol: str = "<space>",
remove_non_linguistic_symbols: bool = False,
):
- assert check_argument_types()
self.space_symbol = space_symbol
if non_linguistic_symbols is None:
self.non_linguistic_symbols = set()
--
Gitblit v1.9.1