Paste a sentence as JSON, WebVTT or SRT, scrub the time, and switch everything the library offers. stateAt, checkContrast, htmlAt and the subtitle exporters run on it live. Nothing leaves the page.
把句子作为 JSON、WebVTT 或 SRT 贴进来,拖动时间,切换这个库提供的所有开关。stateAt、checkContrast、htmlAt 和字幕导出都在这上面实时运行。什么都不会离开这个页面。
文を JSON、WebVTT、SRT のいずれかで貼り付け、時刻を動かし、このライブラリのすべてのスイッチを切り替えます。stateAt、checkContrast、htmlAt、字幕の書き出しがその場で実行されます。データがこのページの外へ出ることはありません。
WebVTT carries no romaji, origins, ids or tags, and SRT no readings either: switching back to JSON shows what came through.
WebVTT 不带罗马字、词源、id 和标签,SRT 连读音也不带:切回 JSON 时显示的是转过来之后还剩下的内容。
WebVTT はローマ字、由来、id、タグを運ばず、SRT は読みも運びません。JSON に戻すと、変換を通って残ったものが表示されます。
Tsubu.checkContrast(root) | state | layer | ratio | min | fg | bg |
|---|
htmlAt(t)TsubuExport.toWebVTT(input)TsubuExport.toASSScript(input, { ruby: "inline" })TsubuExport.toSRT(input, { mode: "segments" })