Soft stems of masculine nouns are indicated by the letters -й and -ь (soft sign): музей, словарь. Soft stems of feminine nouns are indicated by -я and -ь: песня, дверь.