diff --git a/example.ipynb b/example.ipynb index ac51ea5..1910dec 100644 --- a/example.ipynb +++ b/example.ipynb @@ -48,7 +48,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "id": "d66866af", "metadata": {}, "outputs": [ @@ -65,7 +65,19 @@ "\n", "\n", "Loading model...\n", - "Transcribing file number number 1: sample_audio\\audio_1.ogg\n", + "Transcribing file number number 1: sample_audio\\Armstrong_Small_Step.ogg\n", + "Model and file loaded...\n", + "Starting transcription...\n", + "\n", + "Detecting language using up to the first 30 seconds. Use `--language` to specify the language\n", + "Detected language: English\n", + "[00:00.000 --> 00:24.000] That's one small step for man, one giant leap for mankind.\n", + "\n", + "Finished file number 1.\n", + "\n", + "\n", + "\n", + "Transcribing file number number 2: sample_audio\\Axel_Pettersson_röstinspelning.ogg\n", "Model and file loaded...\n", "Starting transcription...\n", "\n", @@ -73,62 +85,6 @@ "Detected language: Swedish\n", "[00:00.000 --> 00:16.000] Hej, jag heter Axel Pettersson, jag föddes i Örebro 1976. Jag har varit Wikipedia sen 2008 och jag har översatt röstintroduktionsprojektet till svenska.\n", "\n", - "Finished file number 1.\n", - "\n", - "\n", - "\n", - "Transcribing file number number 2: sample_audio\\audio_2.ogg\n", - "Model and file loaded...\n", - "Starting transcription...\n", - "\n", - "Detecting language using up to the first 30 seconds. Use `--language` to specify the language\n", - "Detected language: English\n", - "[00:00.000 --> 00:07.360] We're joined once again by our travel expert and also author of America's Top Roller Coasters\n", - "[00:07.360 --> 00:09.200] in Amusement Parks, Pete Tribuco.\n", - "[00:09.200 --> 00:11.040] Good morning and welcome back to Daybreak USA.\n", - "[00:11.040 --> 00:13.480] Well, thanks for having me on.\n", - "[00:13.480 --> 00:18.900] If someone's lucky enough to go on vacation to an exotic location and then maybe not so\n", - "[00:18.900 --> 00:24.860] lucky to have some kind of a disaster happen while they're there, maybe some civil unrest,\n", - "[00:24.860 --> 00:26.200] what should they do now?\n", - "[00:26.200 --> 00:27.200] What's the next step?\n", - "[00:27.840 --> 00:31.560] Well, whenever you're going on vacation, whether it's locally or internationally, you've got\n", - "[00:31.560 --> 00:33.080] to be very careful.\n", - "[00:33.080 --> 00:38.880] Obviously, natural disasters, they pop up, or man-made disasters pop up pretty quickly.\n", - "[00:38.880 --> 00:42.800] You want to make sure that you've got a few things when you're on vacation that's important.\n", - "[00:42.800 --> 00:45.100] Number one, always stay informed.\n", - "[00:45.100 --> 00:48.640] When you're traveling, it's easy to find yourself, you know, distant from the world.\n", - "[00:48.640 --> 00:51.920] Always know what's happening in that area that you're going to.\n", - "[00:51.920 --> 00:55.840] You know, always check and see what the conditions are.\n", - "[00:55.880 --> 01:00.480] And sometimes it's a place you might not want to go to, so always check that.\n", - "[01:00.480 --> 01:04.160] And, you know, of course, check out all the different weather alerts.\n", - "[01:04.160 --> 01:09.200] If it's a hurricane season, for example, make sure that you're aware of that.\n", - "[01:09.200 --> 01:14.600] If an incident does happen, stay with a group, get a buddy, you know, travel with a buddy\n", - "[01:14.600 --> 01:18.880] or somebody that you can basically go to so that you're not alone.\n", - "[01:18.880 --> 01:24.040] Obviously, you want to make sure that if there's any type of a disaster, that you have a plan\n", - "[01:24.040 --> 01:25.040] in place.\n", - "[01:25.080 --> 01:30.440] Now, the one big thing I think everyone should do is invest in travel insurance.\n", - "[01:30.440 --> 01:35.000] No matter where you are, no matter where you go, if you have that insurance program in\n", - "[01:35.000 --> 01:40.480] place and know what the limitations and scenarios that it covers, it's good to have it.\n", - "[01:40.480 --> 01:44.880] It's well worth paying the little extra dollars to enjoy your vacation.\n", - "[01:44.880 --> 01:49.080] And, of course, connect back with your home base, you know.\n", - "[01:49.080 --> 01:53.680] When you travel, you want to let people know where you're at, where you're going to be.\n", - "[01:53.720 --> 01:58.320] Maybe have an itinerary with the embassy if you're going, you know, overseas and make\n", - "[01:58.320 --> 02:01.440] sure that everyone knows where you're at at any given time.\n", - "[02:01.440 --> 02:07.080] And, of course, during a disaster, the American Red Cross is pretty much everywhere.\n", - "[02:07.080 --> 02:12.960] You want to find a location, depending on the situation of what has happened.\n", - "[02:12.960 --> 02:17.960] And they'll be able to set you up, you know, with care packages and stuff along those lines.\n", - "[02:17.960 --> 02:18.960] Great advice, Pete.\n", - "[02:18.960 --> 02:21.160] Do you have a website where you can get more information?\n", - "[02:21.400 --> 02:28.840] Yes, it is www.americasrollercoasters.tatepublishing.net.\n", - "[02:28.840 --> 02:29.840] Excellent, Pete.\n", - "[02:29.840 --> 02:30.840] Thanks so much.\n", - "[02:30.840 --> 02:35.720] And hopefully, hopefully that'll keep some people safe on their big vacation this summer.\n", - "[02:35.720 --> 02:41.280] At least having that information should help people feel a little safer anyway.\n", - "[02:41.280 --> 02:42.280] It sure would.\n", - "[02:42.280 --> 02:43.280] Thank you so much, sir.\n", - "[02:43.280 --> 02:44.280] We'll talk again soon.\n", - "[02:44.280 --> 02:45.280] Have a great day.\n", - "\n", "Finished file number 2.\n", "\n", "\n", @@ -141,7 +97,7 @@ "'Finished transcription, files can be found in sample_audio/'" ] }, - "execution_count": 4, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -149,14 +105,6 @@ "source": [ "transcribe(path, file_type, model, language, verbose)" ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "c9302395", - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/sample_audio/Armstrong_Small_Step.ogg b/sample_audio/Armstrong_Small_Step.ogg new file mode 100644 index 0000000..76b6efd Binary files /dev/null and b/sample_audio/Armstrong_Small_Step.ogg differ diff --git a/sample_audio/audio_1.ogg b/sample_audio/Axel_Pettersson_röstinspelning.ogg similarity index 100% rename from sample_audio/audio_1.ogg rename to sample_audio/Axel_Pettersson_röstinspelning.ogg diff --git a/sample_audio/audio_2.ogg b/sample_audio/audio_2.ogg deleted file mode 100644 index fe76321..0000000 Binary files a/sample_audio/audio_2.ogg and /dev/null differ diff --git a/sample_audio/transcriptions/Armstrong_Small_Step.txt b/sample_audio/transcriptions/Armstrong_Small_Step.txt new file mode 100644 index 0000000..8a460c9 --- /dev/null +++ b/sample_audio/transcriptions/Armstrong_Small_Step.txt @@ -0,0 +1,3 @@ +Armstrong_Small_Step +In seconds: +[0.00 --> 24.00]: That's one small step for man, one giant leap for mankind. \ No newline at end of file diff --git a/sample_audio/transcriptions/audio_1.txt b/sample_audio/transcriptions/Axel_Pettersson_röstinspelning.txt similarity index 85% rename from sample_audio/transcriptions/audio_1.txt rename to sample_audio/transcriptions/Axel_Pettersson_röstinspelning.txt index 5eec43a..653ba62 100644 --- a/sample_audio/transcriptions/audio_1.txt +++ b/sample_audio/transcriptions/Axel_Pettersson_röstinspelning.txt @@ -1,3 +1,3 @@ -audio_1 +Axel_Pettersson_röstinspelning In seconds: [0.00 --> 16.00]: Hej, jag heter Axel Pettersson, jag föddes i Örebro 1976. Jag har varit Wikipedia sen 2008 och jag har översatt röstintroduktionsprojektet till svenska. \ No newline at end of file diff --git a/sample_audio/transcriptions/audio_2.txt b/sample_audio/transcriptions/audio_2.txt deleted file mode 100644 index e9eaeb5..0000000 --- a/sample_audio/transcriptions/audio_2.txt +++ /dev/null @@ -1,47 +0,0 @@ -audio_2 -In seconds: -[0.00 --> 7.36]: We're joined once again by our travel expert and also author of America's Top Roller Coasters -[7.36 --> 9.20]: in Amusement Parks, Pete Tribuco. -[9.20 --> 11.04]: Good morning and welcome back to Daybreak USA. -[11.04 --> 13.48]: Well, thanks for having me on. -[13.48 --> 18.90]: If someone's lucky enough to go on vacation to an exotic location and then maybe not so -[18.90 --> 24.86]: lucky to have some kind of a disaster happen while they're there, maybe some civil unrest, -[24.86 --> 26.20]: what should they do now? -[26.20 --> 27.20]: What's the next step? -[27.84 --> 31.56]: Well, whenever you're going on vacation, whether it's locally or internationally, you've got -[31.56 --> 33.08]: to be very careful. -[33.08 --> 38.88]: Obviously, natural disasters, they pop up, or man-made disasters pop up pretty quickly. -[38.88 --> 42.80]: You want to make sure that you've got a few things when you're on vacation that's important. -[42.80 --> 45.10]: Number one, always stay informed. -[45.10 --> 48.64]: When you're traveling, it's easy to find yourself, you know, distant from the world. -[48.64 --> 51.92]: Always know what's happening in that area that you're going to. -[51.92 --> 55.84]: You know, always check and see what the conditions are. -[55.88 --> 60.48]: And sometimes it's a place you might not want to go to, so always check that. -[60.48 --> 64.16]: And, you know, of course, check out all the different weather alerts. -[64.16 --> 69.20]: If it's a hurricane season, for example, make sure that you're aware of that. -[69.20 --> 74.60]: If an incident does happen, stay with a group, get a buddy, you know, travel with a buddy -[74.60 --> 78.88]: or somebody that you can basically go to so that you're not alone. -[78.88 --> 84.04]: Obviously, you want to make sure that if there's any type of a disaster, that you have a plan -[84.04 --> 85.04]: in place. -[85.08 --> 90.44]: Now, the one big thing I think everyone should do is invest in travel insurance. -[90.44 --> 95.00]: No matter where you are, no matter where you go, if you have that insurance program in -[95.00 --> 100.48]: place and know what the limitations and scenarios that it covers, it's good to have it. -[100.48 --> 104.88]: It's well worth paying the little extra dollars to enjoy your vacation. -[104.88 --> 109.08]: And, of course, connect back with your home base, you know. -[109.08 --> 113.68]: When you travel, you want to let people know where you're at, where you're going to be. -[113.72 --> 118.32]: Maybe have an itinerary with the embassy if you're going, you know, overseas and make -[118.32 --> 121.44]: sure that everyone knows where you're at at any given time. -[121.44 --> 127.08]: And, of course, during a disaster, the American Red Cross is pretty much everywhere. -[127.08 --> 132.96]: You want to find a location, depending on the situation of what has happened. -[132.96 --> 137.96]: And they'll be able to set you up, you know, with care packages and stuff along those lines. -[137.96 --> 138.96]: Great advice, Pete. -[138.96 --> 141.16]: Do you have a website where you can get more information? -[141.40 --> 148.84]: Yes, it is www.americasrollercoasters.tatepublishing.net. -[148.84 --> 149.84]: Excellent, Pete. -[149.84 --> 150.84]: Thanks so much. -[150.84 --> 155.72]: And hopefully, hopefully that'll keep some people safe on their big vacation this summer. -[155.72 --> 161.28]: At least having that information should help people feel a little safer anyway. -[161.28 --> 162.28]: It sure would. -[162.28 --> 163.28]: Thank you so much, sir. -[163.28 --> 164.28]: We'll talk again soon. -[164.28 --> 165.28]: Have a great day. \ No newline at end of file