机にむかって勉強しているうちに寝てしまった。
Sentence Analyzer
English Translation
        I fell asleep while studying at my desk.
    
Furigana
Romanji
        Tsukue ni mukatte benkyōshiteiru uchini neteshimatta.
    
Words
            
                机
            
            
                (つくえ、つき)
            
        
        
            desk
        
    
            
                に
            
            
                (に)
            
        
        
            at (place, time); in; on; during; to (direction, state); toward; into; for (purpose); because of (reason); for; with; by; from; as (i.e. in the role of); per; in; for; a (e.g. "once a month"); and; in addition to; if; although
        
    
            
                向かう
            
            
                (むかう)
            
        
        
            to face; to go towards
        
    
            
                勉強
            
            
                (べんきょう)
            
        
        
            study; diligence; discount; reduction
        
    
            
                打ち荷
            
            
                (うちに)
            
        
        
            jettisoned cargo
        
    
            
                寝る
            
            
                (ねる)
            
        
        
            to lie down; to go to bed; to lie in bed; to sleep (lying down); to sleep (with someone, i.e. have intercourse); to lie idle