Day 93 – Speech Recognition On Different Languages By SpeechBrain
SpeechBrain

Day 93 – Speech Recognition On Different Languages By SpeechBrain

SpeechBrain is one of the topmost tools for Audio Analysis, Speech Recognition, Speaker Recognition, Speech Enhancement, etc.

We saw a post in the previous blog what is SpeechBrain, Features, PreTrained models, etc.

Let’s get into a code to check simple Speech Recognition in different languages.

I have used SpeechBrain Pretrained models and audio files and downloaded new audio files from the Free Open Speech Repository.

To check my full code in Google Colab as well as here.

#Install Torchaudio, SpeechBrain and Transformers
!pip install torchaudio==0.8.1 #Temporary (until pytorch 0.9 is supported in Colab)
!pip install speechbrain        
!pip install transformers
        
#Import all libraries
import speechbrain as sb
from speechbrain.dataio.dataio import read_audio        
from IPython.display import Audio
        
#Download pretrained EncoderDecoderASR model from SpeechBrain
#librispeech in English
from speechbrain.pretrained import EncoderDecoderASR

asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-rnnlm-librispeech", savedir="pretrained_models/asr-crdnn-rnnlm-librispeech")        
asr_model.transcribe_file('speechbrain/asr-crdnn-rnnlm-librispeech/example.wav')        

Continue reading...

Further Reading

Posts on?Artificial Intelligence,?Deep Learning,?Machine Learning, and?Design Thinking?articles:

Autonomous Vehicle Environment Perception Task By Pandas Team

Deep Learning Basics: Introduction, Concepts, and Overview

TextStyleBrush by Facebook AI Research Team

Watercolor Painting Under 5 Mins Using Stylized Neural Painting Artificial Intelligence

Marker Pen Painting Under 5 Mins Using Stylized Neural Painting Artificial Intelligence

Detail Sentence Analyzer Using spaCy Natural Language Processing – Part II

Named Entity Recognition Using spaCy Natural Language Processing – Part III

AI Converts Your Photo Or Video Selfie To Animation – GANsNRoses

Artificial Intelligence Chatbot Using Neural Network and Natural Language Processing

Tensorflow Sobel Filter Image Processing and Computer Vision

Oil Painting Under 5 Mins Using Stylized Neural Painting Artificial Intelligence

COCO Keypoint Detection Detectron2 Computer Vision by Facebook AI Research (FAIR)

Translate 125 Plus Languages Using Google Artificial Intelligence – Part 1

Translate 125 Plus Languages Using Google Artificial Intelligence – Part 2

Posts on SAP:

How to Transform Your Business with SAP Data Intelligence?

SAP AI Business Services – Business Entity Recognition

SAP AI Business Services – Document Information Extraction

SAP AI Business Services – Service Ticket Intelligence

SAP Intelligent Robotic Process Automation, Use Case, Benefits, and Available Features

SAP Conversational AI

SAP AI Business Services

要查看或添加评论,请登录

社区洞察

其他会员也浏览了