Sentence:  ... when a storm hath ceased, the birds regain / Their cheerfulness, and busily retrim / Their nests, or chant a <WSD>gratulating</WSD> hymn / To the blue ether and bespangled plain; 
Meaning of the word marked with <WSD> tags:  To greet, welcome, salute.