Documentation

Kupata data ya kutafsiri

Kupata data kutoka kusitishwa au kukamilika transcriptions

Kuandika kutoka kwa Mikrofoni au LiveStream

Kuandika hotuba ya moja kwa moja kutoka kwa mikrofoni au mtiririko wa moja kwa moja

Mafunzo ya kutafsiri

Kufuatilia na kudhibiti hali ya transcription na mikutano

Kutafsiri Transcription

Kutafsiri maandishi transcribed kwa lugha nyingine

Mteja upande Uthibitishaji Tokens

Kujenga muda authentication token kwa maombi upande wa mteja

Maombi ya kutafsiri na Majibu

Common maombi chaguzi na majibu kwa ajili ya shughuli zote transcription

Kuandika na Kuwasilisha Sehemu ya Polyglot

Kuunda mkutano ambao unaweza kutumika kwa ajili ya kutangaza kuishi transcription kupitia umma shareable kiungo

Kuhamisha Audio kutoka URL

Tazama nyaraka
Kuandika hotuba kutoka sauti iliyorekodiwa katika URL hadi maandishi ya kawaida. Maudhui ya muziki yanaweza kuhifadhiwa katika aina mbalimbali za faili, kama vile MP3, WAV, FLAC, na OGG.
Kuandika faili audio katika URL (kama vile mp3) kwa maandishi na mistari michache tu ya kanuni:
JavaScript
import { UrlTranscription } from '@vocalstack/js-sdk'; const sdk = new UrlTranscription({ apiKey: 'YOUR-API-KEY' }); const transcription = await sdk.connect({ url: 'http://example.com/files/meaningless.mp3', }); transcription.start(); // This will print the transcription data as it comes in transcription.onData(console.log); /* { status: 'processing', data: { id: 'd1e7b3b0-7b3b-4b3b-8b3b-0b3b7b3b3b3b', operation: 'transcription-prerecorded', progress: 0.1, timeline: [ { start: 0, end: 7.52, text: 'Meaningless, meaningless, says the teacher, utterly meaningless, everything is meaningless.', language: 'en', translations: { ... }, }, ... ] } } */
Kuna chaguzi kadhaa za maombi zinazopatikana kwa kubadilisha mipangilio ya kutafsiri. Kwa mfano, utafiti wa kisayansi unaonyesha kuwa kuna tofauti katika ubora wa majibu ya ubongo katika hatua mbalimbali za mchakato wa ubongo.
Maombi ya kutafsiri na Majibu
Common maombi chaguzi na majibu kwa ajili ya shughuli zote transcription. Matumizi chaguzi configure mipangilio transcription.
Sasa lets kuangalia jinsi tunaweza kutumia chaguzi desturi configure mchakato wetu transcription:
JavaScript
// Run "npm install @voca l-stack/js-sdk" to install the package import { UrlTranscription } from '@vocalstack/js-sdk'; // Get your key here ⇢ https://www.vocalstack.com/dashboard/api-keys const sdk = new UrlTranscription({ apiKey: 'YOUR-API-KEY' }); const transcription = await sdk.connect({ // URL to the audio file url: 'http://example.com/files/audio.mp3', // Optional: language of the speech spoken // (this can be used to improve the transcription accuracy) language: 'en', // Optional: the maximum duration to transcribe, in seconds // (if not provided, the entire audio file will be transcribed) max_duration_s: 1800, // Optional: the actual duration of the audio file, in seconds // (the transcription starts only if the audio file matches this duration) duration_s: 3600, }); // Start the transcription transcription.start(); // Listen for transcription data transcription.onData((response) => { const { status, data } = response; console.log(status); // 'waiting', 'processing', 'done', or 'error' if (data) { console.log(data.progress); // a value between 0 and 1 console.log(data.timeline); // an object with the transcription timeline } if (status === 'done') { console.log(data.summary); // a summary of the transcription console.log(data.keywords); // an array of keywords console.log(data.paragraphs); // the entire transcription in paragraph form } });
Mara baada ya kuandika hotuba katika faili yako ya sauti, unaweza kutaka kusonga mbele kwa moja ya yafuatayo:
Kupata data ya kutafsiri
Kupata data kutoka kusitishwa au kukamilika transcriptions. Hii ni pamoja na transcription timeline, maneno muhimu, muhtasari, na aya sehemu.
Kutafsiri Transcription
Kutafsiri maandishi transcribed kwa lugha nyingine. Hii inaweza kufanywa kwa transcription yoyote, ikiwa ni pamoja na prerecorded transcriptions, live transcriptions au Polyglot mkutano transcriptions.
Mafunzo ya kutafsiri
Kufuatilia na kudhibiti hali ya transcription na mikutano. Kwa kutumia mikutano unaweza kuungana tena na awali aliumba uhusiano asynchronous.
Scroll Up