kokoro.best / cpp /src /g2p /g2p.hpp
inoryQwQ's picture
Upload folder using huggingface_hub (part 3)
71e354e verified
Raw
History Blame Contribute Delete
797 Bytes
/**************************************************************************************************
*
* Copyright (c) 2019-2026 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
*
**************************************************************************************************/
#pragma once
#include <string>
class G2P {
public:
G2P() = default;
virtual ~G2P() = default;
virtual std::string get_language() const = 0;
virtual std::string get_backend() const = 0;
virtual std::string run(const std::string& input_text, int& err) = 0;
};