Download as pdf or txt
Download as pdf or txt
You are on page 1of 27

TEACHER VERSIONAI Education Curriculum

AI Education forfor
Curriculum Junior Secondary
Junior SecondarySchools
Schoolsin
inHong
Hong Kong
Kong

Chapter

5 Speak

Section RESOURCES

5.1  5-2


5.1.1 Spoken language and intelligence 10 5-3
5.1.2 What is text-to-speech (TTS) synthesis? 15 5-3
5.1.3 TTS applications and challenges 20 5-4

5.2  5-8


5.2.1 Modern TTS approaches 25 5-9
5.2.2 Text analysis and waveform generation 20 5-12
5.2.3 TTS evaluation 25 5-15
5.2.4 Extension of TTS 20 5-17

5.3  5-19


5.3.1 Fairness and security issues 45 5-20
Chapter 5: Speak

5.1 

Learning Objectives


     


  
  
        

Kelly is watching TV then turns around to AI Dog.

1 2

You know, I’m not very clever. In


Hey, AI Dog, I feel bored. Could my left brain, there is nothing
you please tell me a joke? right; in my right brain, there is
nothing left.

3 Hahaha! That’s great! Wait,


4
Kelly, let me tell you
AI Dog, you just spoke in a
about something called
different tone of voice! How
speech synthesis.
did you do that?

5-2
AI Education Curriculum for Junior Secondary Schools in Hong Kong

5.1.1 Spoken language and intelligence 10 BASIC

      


 

 
VIDEO
   
                
       
       
       


   


 

    

 

  

 
 


 

   

5.1.2 What is text-to-speech (TTS) synthesis? 15 BASIC

                  VIDEO
          
                   
    


5-3
Chapter 5: Speak

5.1.3 TTS applications and challenges 20 INTERMEDIATE


      
        
       
    
                     
     

VIDEO

      


VIDEO


   

VIDEO

    

VIDEO

    
 

  

 ­€         


                          


‚                  
                       
  ƒ   
 „      
   

5-4
AI Education Curriculum for Junior Secondary Schools in Hong Kong

   ★

 
Speech Volume Speed Pitch/Tone
  
 

 


  

              
 

      ★★

     


 
A B Your answer (A / B)

Human: _________
Test 1
Machine: ________

Human: _________
Test 2
Machine: ________

Human: _________
Test 3
Machine: ________

Human: _________
Test 4
Machine: ________

5-5
Chapter 5: Speak

    

   


         

 EXTENSION

    


 ­  €    
     ‚ ƒ 

    

   

________________________________________________________________________

________________________________________________________________________

________________________________________________________________________

5-6
AI Education Curriculum for Junior Secondary Schools in Hong Kong




        
  

1 2
Yes. If we can improve the speech
synthesiser, communication between
TTS is great. I can see how it
humans and computers will be more
helps in many different ways.
effective.
However, I find the tone of some
TTS a bit strange.

   Optional

  ­ €  ‚ƒ 


 „ †   

€‡ ­    ‚ˆ‰Š  ‚   ‹­Œ 
  Œ ‚  ‚ Œ   

          


  

______________________________________________________________________

______________________________________________________________________

5-7
Chapter 5: Speak

5.2 

Learning Objectives


    


     
 

1 2
Mum, you told me that deep neural Yes, modern TTS also uses deep
networks are used in speech neural network technology. It elevates
recognition, right? So are deep the performance of TTS quite a lot.
neural networks also used in
speech synthesis?
I want to know how,
please tell me more.

5-8
AI Education Curriculum for Junior Secondary Schools in Hong Kong

5.2.1 Modern TTS approaches 25 BASIC




       


   

Sentence “I love Hong Kong”

I love Hong Kong


  Grammar pronoun verb noun
  
 I
  Words / Phrases love
Hong Kong
 
Phones aɪ lʌv hɔŋ kɔŋ

Acoustics

     

     

     


                  
        

VIDEO

  

5-9
Chapter 5: Speak

           


           





 

    

                  
       

  

                 


                      ­  
                

  



   

5-10
AI Education Curriculum for Junior Secondary Schools in Hong Kong



                  
    
                  
        
        

­ 

€
‚

€ € 

    

     


 



         
   



 
  

     

5-11
Chapter 5: Speak

5.2.2 Text analysis and waveform generation 20 INTERMEDIATE



               
               


    ★

    ~

    

__________________________________________________________________________
 ­­€­­€ ‚ ‚
 

__________________________________________________________________________
我外號「高人」,有成 高。

__________________________________________________________________________
ƒ她弟弟出生於ƒ„„號。

__________________________________________________________________________

  

      

5-12
AI Education Curriculum for Junior Secondary Schools in Hong Kong

   ★★

   

Sentence 1:
“There are many books to read but I have read them all.”

Sentence 2:
“當單志堅單獨行街時,看見匯豐銀行旁的唱片行正在進行聖誔大特賣”

 

____________________________________________________________________________
 

____________________________________________________________________________

  

        


      
‧   上海市長江大橋(上海市—長江大橋)(上海—市長—江大橋)
‧       ːɛ"單" 
‧     費先生   ,單志堅 ­ 
‧        ˈ ˈ 

          


  
‧    
    
‧        
        
  €  ‚ƒ

„ †‡    

5-13
Chapter 5: Speak



                     
          
             
      

       


      

     

 

                    
­ €   ­     
     ‚                   
  

ƒ  

5-14
AI Education Curriculum for Junior Secondary Schools in Hong Kong



                       
                   
                 
          

Input Process Output


Waveform Synthetic
Input Text Text Analysis Generation Speech
Linguistic
 Part of Speech determiner
The
number
first
noun
record is
verb
playing representation

Phoneme dh ax f uh st r eh k ao rd ih z p l ey y ih ng

Data Can be trained with labelled data

 ­ €‚ƒ„

5.2.3 TTS evaluation 25 INTERMEDIATE

         †  ‡      
        
                     
       
       
 ˆ      ƒ  
  

 

‰Š                 
                   
                  
     





 ­ €‹ƒ    

5-15
Chapter 5: Speak



      


         
   

                   
        


‡  ƒˆ‰  

       ★

    


­   €­ €­ €‚ ƒ„„   † 
       

   


‰ ƒ„„  
  Š
‰   ƒ
‰   ‹
Π
  Š
‰   ƒ
‰   ‹
Π
  Š
‰   ƒ
‰   ‹
Π
  Š
‰   ƒ
‰   ‹
Π

5-16
AI Education Curriculum for Junior Secondary Schools in Hong Kong



       


       

     

5.2.4 Extension of TTS 20 ADVANCE Optional

           


      



          


           

       

5-17
Chapter 5: Speak

 WEBSITE

      


          
    

   



     


         
       
        
       
­   €        
  

1 2
Now I know the methods Of course, it is not easy to
and key processes of understand the details. But
modern TTS technologies, you will know more when
but I find the details a bit you study it.
difficult to understand.

5-18
AI Education Curriculum for Junior Secondary Schools in Hong Kong

5.3 

Learning Objectives



1 2
My teacher, Miss Wong, said she is
AI Dog, can you make my voice
going to call my parents. I’m worried
sound like Dad’s?
she will complain about the way I have
been behaving at school. I want to
impersonate my dad when she calls.
I can. But why would
you want to do that?

3 4
Oh … that is a very
bad idea. You Sorry … I know it’s wrong.
shouldn’t do that.

We should use AI properly.


I will tell Mum
and Dad!

5-19
Chapter 5: Speak

5.3.1 Fairness and security issues 45 BASIC


           
               
  

  ★

         

_________________________________________________________________________________

_________________________________________________________________________________

_________________________________________________________________________________

   
       
                        
                         
                      
                 
            
                     
                    
                       
     

 ­€‚ƒ„    


     

5-20
AI Education Curriculum for Junior Secondary Schools in Hong Kong

      ★ VIDEO

      


 

____________________________________________________________________

____________________________________________________________________

____________________________________________________________________



        


                  
              




         
       
                
      

After Parents’ Day at school…

1 2 That’s good. Fortunately, you didn't


How was your Parents’ Day, a synthetic voice to deceive your
Brother? teacher. In the news, we often see
people accused by the Police of
using computers for dishonest
It was fine. My teacher really purposes.
appreciated my efforts in
school. Thank goodness I
didn’t do that.

5-21
Chapter 5: Speak

 Optional
      
      

         
    ­€   
  ‚ƒ  
           ‚
       
  
        
ƒ      
    „
    
 
†    ‚  
    ‡    ‡   
  
ˆ   ˆ 
     
   
     
‰Š   ‹ 
   ˆŒ 
       †  

     ˆŽ
    ˆŒ    
‘   
   ’       ‹

5-22
AI Education Curriculum for Junior Secondary Schools in Hong Kong


 

      _____________________


  

   ___________________    


     

        


___________________________

   _____________________________   


    

     ­______________________ 


______________________  

   

€ ‚ƒ     „

 †      


‡ † 
 ˆ    
‰ † 

Š       ­

    


‡  
 €   
‰  

€       „

  ‹
  ‚  
     

   
‡   
    
‰  

5-23
Chapter 5: Speak

            

          


           
 
 ­    €  € ‚ 
   
ƒ „       ‚    
 

   €  €       
     

   †    ‡     


 
     ˆ       
         
ƒ ‰       



Š†   ‡ ‹Œ   


  Ž 
  ‘ 
     

 __________________________________________________________________________________

 __________________________________________________________________________________

 __________________________________________________________________________________

“ ’           ”      •
  €     Ž€        ‡ 
”  €     „    ‚      
    •Œ€•€–•  €“•  €Š•  


 ‚    ’ 
_____________________________________________________________________________________

5-24
AI Education Curriculum for Junior Secondary Schools in Hong Kong

    

_________________________________________________________________________________

_________________________________________________________________________________

_________________________________________________________________________________

    



_______________________________________________________________________________

_______________________________________________________________________________

 ­    €‚   ƒ€ 


「記得 埋我一齊食飯」
「份€幾時
 」
„   † ‡‚   

_________________________________________________________________________________

_________________________________________________________________________________

_________________________________________________________________________________

5-25
Chapter 5: Speak



 

      


Speech Volume Speed Pitch/ Tone

Angry Stronger Faster Higher

Elderly Weaker Slower Lower

    


Test 1 Human: A
Machine: B
Test 2 Human: B
Machine: A
Test 3 Human: B
Machine: A
Test 4 Human: A
Machine: B

     


         
     
   
        
 
    
     ­ € 
 ‚ ƒ‚‚   ‚‚ 
    

 

   


 „ ‚   

 †     
 
 ‡ 我外號「高人」,有成一百五十公分高。
 ˆ 她弟弟出生於二零一四年三月三十一號。
    
 „‰
 Š‰ ƒɛƒ ƒ‰ƒ
 †‰
 單: ƒ‹ƒ  ƒŒƒ„ƒ
 行: ƒˆƒ  ƒˆƒ ƒ‹ƒ ƒˆƒ

5-26
AI Education Curriculum for Junior Secondary Schools in Hong Kong

 

    


 
      
      
        

   

 
 
 €
  ‚
  
 ƒ €ƒ 

    








  
 ­ €  €€‚ ƒ€    
 „€‚    
 „€     
   †„      
   
  € ‡€  
  ‚ 
 ˈprez.ənt€
 prɪˈzent
­     €   

5-27

You might also like