#pragma once #include "engine/models/qwen3_tts/assets.h" #include #include #include #include namespace engine::models::qwen3_tts { class Qwen3TextTokenizer { public: struct Impl; explicit Qwen3TextTokenizer(std::shared_ptr assets); std::string build_assistant_prompt(const std::string & text) const; std::string build_reference_prompt(const std::string & text) const; std::string build_instruct_prompt(const std::string & text) const; std::vector encode(const std::string & text) const; private: std::shared_ptr impl_; }; } // namespace engine::models::qwen3_tts