Nepali Speech Recognition

Post on 10-Apr-2017

40 views 0 download

Transcript of Nepali Speech Recognition

SupervisorDr. Basanta Joshi

Aavaas Gajurel (068/BCT/501)Anup Pokhrel (068/BCT/505)

Manish K. Sharma (068/BCT/523)

System Overview

System Block Diagram - TrainingNoise

ReductionSplit Module (VAD Based) Training Set

MFCC Features Train HMM

System Block Diagram - Recognition

Audio Input Noise Reduction

Split Module (VAD Based)

MFCC Computation

HMM

Audio ClassifierLanguage Model Output

SYSTEM DESIGN METHODOLOGY

NOISE REDUCTION

Creating Noise Profile

BUILD NOISE PROFILE

Update the computed Noise Profile

AVERAGE OVER TIME1𝑁 [π‘†π‘’π‘šπ‘œπ‘“ πΉπΉπ‘‡πΆπ‘œπ‘šπ‘π‘œπ‘›π‘’π‘›π‘‘>10 π‘“π‘Ÿπ‘Žπ‘šπ‘’π‘  ]

FOURIER TRANSFORMFFT of 32ms Audio Samples

Spectral Subtraction

INVERSE FOURIER TRANSFORM

Rebuild the Signal

SUBTRACT NOISE PROFILE (STATIC AND MUSICAL)Over Subtraction Short Segment Removal

FOURIER TRANSFORM OF SIGNALFFT of 32ms Audio Samples

After Spectral Subtraction After Musical Noise Removal

Before Noise Removal Spectral Subtraction output

VOICE ACTIVITY DETECTION

Voice Activity Detection

Voice Activity Detection Process I

CALCULATE THE TRIGGER

𝑑𝑀=πœ‡+𝛼 𝛿𝑀

COMPUTE mean AND variance

SAMPLE10 Frame Sampling

Voice Activity Detection Process II

CLASSIFY

If greater than trigger then voice

COMPUTE CLASSIFICATION MEASURE

READ THE SAMPLERead the frame

π‘Š 𝑠1 (π‘š )=𝑃 𝑠1(π‘š)(1βˆ’π‘π‘  1 (π‘š ) )𝑆𝑐

Feature Extraction

Audio Feature Extraction

Feature Extraction Process I

APPLY MEL FILTERBANK Multiply Filterbank(20-40) by Periodogram Estimate

CALCULATE PERIODOGRAM ESTIMATE𝑃 𝑖 (π‘˜ )= 1

𝑁 ¿𝑆𝑖 (π‘˜)∨¿2ΒΏ

FRAMINGDivide Audio into Sections of 20ms-40ms

Feature Extraction Process II

KEEP REQUIRED COEFFICIENTSKeep Required Number of Coefficients

DISCRETE COSINE TRANSFORM OF ENERGIESTake DCT of Coefficients of Above Step

SCALINGTake Logarithm of Filterbank Energies

Language Model

Using Language Model

Language Model Training

Language Model Based Classification

SELECT BEST

𝑃 (π‘Š 𝑖|π‘Š π‘–βˆ’ 1 )=πœ†1 (𝑃 (π‘Šπ‘›|π‘Šπ‘›βˆ’1 ) )+πœ†2𝑃 (π‘Š 𝑛)

GET POSSIBLE CANDIDATESFrom Acoustic Model

READ PREVIOUS WORD

ACOUSTIC MODEL

HMM Based Classification

Training the Acoustic Model

TRAIN USING BAUM WELCH ALGORITHM

SELECT HMM MODEL

READ MFCC COEFFICIENTS AND WORD

Using the Acoustic Model

OUTPUT WORD CORRESPONDING TO MODEL

SELECT MODEL WITH MAXIMUM PROBABILITY

FIND LOG PROBABILITY OF WORD FOR EACH MODEL

READ MFCC COEFFICIENTS OF WORD

RESULTS

Trained vs. Untrained Input

β€’ 3 Speakers β€’ 5X10 Words Eachβ€’ 5 Testing Set Each

Accuracy of System0

10

20

30

40

50

60

70

80

90

100

86.67

66.67

Using Trained and Untrained Input

Trained Set Untrained Set

Noise Reduced vs. Not Noise Reduced

β€’ 3 Speakers β€’ 5X10 Words Eachβ€’ Untrained Input Files for Testingβ€’ 5 Testing Set Each

Accuracy of System0

10

20

30

40

50

60

70

80

46.67

66.67

Effect of Noise Reduction

Noise Not Reduced Noise Reduced

Gender Based Results

β€’ 7 Speakers β€’ 3 Females, 4 Malesβ€’ Animal Names as Testβ€’ Untrained Input Files for Testing

Female Voice Training Male Voice Training Female and Male Voice Training

0

10

20

30

40

50

60

70

36

6459

66

44

5651

5458

Gender Based Result

Male Female Male + Female

LIMITATIONS AND RECOMMENDATIONS

Limitations

Limited Vocabulary

User Specific Noise Profiles

Static MFCC Coefficients Only

Training Data Storage Absent

Non-Continuous Recognition

Recommendations

Using Dynamic Coefficients

Continuous HMM Model

Extensive Training

Better Phonemic Modeling

Dynamic Noise Modeling

USAGE SCENARIO

Usage Scenario I

Easy Nepali Input

Automated Telecom Assistance

Speech Controlled Interface

Automated Transcribing

Usage Scenario II

Military Sector for Automated Wire Tapping

Public Guidance System

Automated User Support (banks, corporate houses,etc.)

Thank You !