彼が禁煙したのは正しい事だった。
Sentence Analyzer
English Translation
        He was right to give up smoking.
    
Furigana
Romanji
        Kare ga kin'enshita no wa tadashii koto datta.
    
Words
            
                彼
            
            
                (かれ)
            
        
        
            he; him; his; boyfriend
        
    
            
                が
            
            
                (が)
            
        
        
            indicates sentence subject (occasionally object); indicates possessive (esp. in literary expressions); but; however; still; and
        
    
            
                禁煙
            
            
                (きんえん)
            
        
        
            abstaining from smoking; quitting smoking; No Smoking!; Smoking Prohibited!
        
    
            
                の
            
            
                (の)
            
        
        
            indicates possessive; nominalizes verbs and adjectives; substitutes for "ga" in subordinate phrases; (at sentence-end, falling tone) indicates a confident conclusion; (at sentence-end) indicates emotional emphasis; (at sentence-end, rising tone) indicates question
        
    
            
                は
            
            
                (は)
            
        
        
            topic marker particle; indicates contrast with another option (stated or unstated); adds emphasis
        
    
            
                正しい
            
            
                (ただしい)
            
        
        
            right; correct; proper; righteous; just; honest; truthful; lawful
        
    
            
                事
            
            
                (こと、こん)
            
        
        
            thing; matter; incident; occurrence; event; something serious; trouble; crisis; circumstances; situation; state of affairs; work; business; affair; after an inflectable word, creates a noun phrase indicating something the speaker does not feel close to; nominalizing suffix; pretending to ...; playing make-believe ...; alias; aka; nickname; alternative name; also known as
        
    
            
                だ
            
            
                (だ)
            
        
        
            be; is; indicates past or completed action; indicates light imperative
        
    Kanji
Readings: ヒ、 かれ、 かの、 か.の
                        Meanings: he, that, the
                    Reading: キン
                        Meanings: prohibition, ban, forbid
                    Readings: エン、 けむ.る、 けむり、 けむ.い
                        Meaning: smoke
                    Readings: セイ、 ショウ、 ただ.しい、 ただ.す、 まさ、 まさ.に
                        Meanings: correct, justice, righteous, 10**40
                    Readings: ジ、 ズ、 こと、 つか.う、 つか.える
                        Meanings: matter, thing, fact, business, reason, possibly