Fitting words and phrases to music patterns

When music is set to words, they are placed immediately under the notes to which they belong. Accenting different words in a sentence can give it different shades of meaning, even though the words themselves are unchanged.
When words are set to music, the accented syllable are normally put on accented beats and the weak syllable on weak beats.