From 9aab5bd5acc0277166d25a8215bdd8d969d90634 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 10 May 2024 10:49:35 +0800 Subject: [PATCH] =?UTF-8?q?2024.5.10-=E5=8E=BB=E9=99=A4ITN=E7=9A=84?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- post_processor/post_processor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/post_processor/post_processor.h b/post_processor/post_processor.h index ffba3d3..c8d3a78 100644 --- a/post_processor/post_processor.h +++ b/post_processor/post_processor.h @@ -64,6 +64,7 @@ class PostProcessor { void InitITNResource(const std::string& tagger_path, const std::string& verbalizer_path); private: + std::shared_ptr itn_resource = nullptr; const PostProcessOptions opts_; public: WENET_DISALLOW_COPY_AND_ASSIGN(PostProcessor);