mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 14:45:46 +01:00
update (#1066)
This commit is contained in:
parent
9dbab8464d
commit
63cf3175e6
2 changed files with 39 additions and 49 deletions
|
|
@ -1,28 +1,28 @@
|
|||
// @ts-check
|
||||
// Note: type annotations allow type checking and IDEs autocompletion
|
||||
|
||||
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
||||
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
||||
const lightCodeTheme = require("prism-react-renderer/themes/github");
|
||||
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
|
||||
|
||||
/** @type {import('@docusaurus/types').Config} */
|
||||
const config = {
|
||||
title: 'Buzz',
|
||||
tagline: 'Audio transcription and translation',
|
||||
favicon: 'img/favicon.ico',
|
||||
title: "Buzz",
|
||||
tagline: "Audio transcription and translation",
|
||||
favicon: "img/favicon.ico",
|
||||
|
||||
// Set the production url of your site here
|
||||
url: 'https://chidiwilliams.github.io',
|
||||
url: "https://chidiwilliams.github.io",
|
||||
// Set the /<baseUrl>/ pathname under which your site is served
|
||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||
baseUrl: '/buzz/',
|
||||
baseUrl: "/buzz/",
|
||||
|
||||
// GitHub pages deployment config.
|
||||
// If you aren't using GitHub pages, you don't need these.
|
||||
organizationName: 'chidiwilliams', // Usually your GitHub org/user name.
|
||||
projectName: 'buzz', // Usually your repo name.
|
||||
organizationName: "chidiwilliams", // Usually your GitHub org/user name.
|
||||
projectName: "buzz", // Usually your repo name.
|
||||
|
||||
onBrokenLinks: 'throw',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
onBrokenLinks: "throw",
|
||||
onBrokenMarkdownLinks: "warn",
|
||||
|
||||
trailingSlash: false,
|
||||
|
||||
|
|
@ -30,38 +30,38 @@ const config = {
|
|||
// metadata like html lang. For example, if your site is Chinese, you may want
|
||||
// to replace "en" with "zh-Hans".
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: ['en', 'zh'],
|
||||
path: 'i18n',
|
||||
defaultLocale: "en",
|
||||
locales: ["en", "zh"],
|
||||
path: "i18n",
|
||||
localeConfigs: {
|
||||
en: {
|
||||
label: 'English',
|
||||
direction: 'ltr',
|
||||
htmlLang: 'en-US',
|
||||
path: 'en',
|
||||
label: "English",
|
||||
direction: "ltr",
|
||||
htmlLang: "en-US",
|
||||
path: "en",
|
||||
},
|
||||
zh: {
|
||||
label: 'Chinese',
|
||||
direction: 'ltr',
|
||||
htmlLang: 'zh-CN',
|
||||
path: 'zh',
|
||||
label: "简体中文",
|
||||
direction: "ltr",
|
||||
htmlLang: "zh-CN",
|
||||
path: "zh",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
presets: [
|
||||
[
|
||||
'classic',
|
||||
"classic",
|
||||
/** @type {import('@docusaurus/preset-classic').Options} */
|
||||
({
|
||||
docs: {
|
||||
sidebarPath: require.resolve('./sidebars.js'),
|
||||
sidebarPath: require.resolve("./sidebars.js"),
|
||||
},
|
||||
blog: {
|
||||
showReadingTime: true,
|
||||
},
|
||||
theme: {
|
||||
customCss: require.resolve('./src/css/custom.css'),
|
||||
customCss: require.resolve("./src/css/custom.css"),
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
|
@ -71,28 +71,28 @@ const config = {
|
|||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||
({
|
||||
// Replace with your project's social card
|
||||
image: 'img/favicon.ico',
|
||||
image: "img/favicon.ico",
|
||||
navbar: {
|
||||
title: 'Buzz',
|
||||
title: "Buzz",
|
||||
logo: {
|
||||
alt: 'Buzz',
|
||||
src: 'img/favicon.ico',
|
||||
alt: "Buzz",
|
||||
src: "img/favicon.ico",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: 'docSidebar',
|
||||
sidebarId: 'tutorialSidebar',
|
||||
position: 'left',
|
||||
label: 'Docs',
|
||||
type: "docSidebar",
|
||||
sidebarId: "tutorialSidebar",
|
||||
position: "left",
|
||||
label: "Docs",
|
||||
},
|
||||
{
|
||||
href: 'https://github.com/chidiwilliams/buzz',
|
||||
label: 'GitHub',
|
||||
position: 'right',
|
||||
href: "https://github.com/chidiwilliams/buzz",
|
||||
label: "GitHub",
|
||||
position: "right",
|
||||
},
|
||||
{
|
||||
type: 'localeDropdown',
|
||||
position: 'left',
|
||||
type: "localeDropdown",
|
||||
position: "left",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,17 +1,7 @@
|
|||
---
|
||||
title: Edit and Resize
|
||||
title: 编辑与调整
|
||||
---
|
||||
|
||||
When transcript of some audio or video file is generated you can edit it and export to different subtitle formats or plain text. Double-click the transcript in the list of transcripts to see additional options for editing and exporting.
|
||||
|
||||
Transcription view screen has option to resize the transcripts. Click on the "Resize" button so see available options. Transcripts that have been generated **with word-level timings** setting enabled can be combined into subtitles specifying different options, like maximum length of a subtitle and if subtitles should be split on punctuation. For transcripts that have been generated **without word-level timings** setting enabled can only be recombined specifying desired max length of a subtitle.
|
||||
|
||||
If audio file is still present on the system word-level timing merge will also analyze the audio for silences to improve subtitle accuracy. Subtitle generation from transcripts with word-level timings is available since version 1.3.0.
|
||||
|
||||
---
|
||||
|
||||
## title: 编辑与调整
|
||||
|
||||
当某个音频或视频文件完成转录后,你可以对其进行编辑,并将其导出为不同的字幕格式或纯文本。在转录列表中双击转录内容,即可查看用于编辑和导出的其他选项。
|
||||
|
||||
转录视图界面提供了调整转录内容的选项。点击“调整”按钮,可查看可用的选项。对于在 **启用单词级时间戳** 设置下生成的转录内容,可以通过指定不同选项(如字幕的最大长度以及是否应在标点处拆分字幕)将其合并成字幕。而对于在 **未启用单词级时间戳** 设置下生成的转录内容,仅能通过指定所需的字幕最大长度来重新组合。
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue