Sentence:  Compounds in which <WSD>gerunds</WSD> are the second element look exactly like compounds in which present participles are the second element, but different principles of hyphenation apply. 
Meaning of the word marked with <WSD> tags:  A verbal form that functions as a verbal noun. (In English, a gerund has the same spelling as a present participle, but functions differently.)