Text to Speech Speech to Text

12345678910111213141516
  1. CREATE TABLE `corpus_tts` (
  2. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  3. `text` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '翻译的文本',
  4. `uniq_key` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '唯一键值',
  5. `language_code` enum('en-US','en-GB','zh-CN') COLLATE utf8mb4_unicode_ci NOT NULL,
  6. `voice_name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '发音名称',
  7. `speed` float(8,0) NOT NULL DEFAULT '1',
  8. `pitch` float(8,0) NOT NULL DEFAULT '0',
  9. `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  10. `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  11. `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  12. PRIMARY KEY (`id`),
  13. KEY `idx_uniq_key` (`uniq_key`)
  14. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;