There is an assumption that he is the author of them. The score indicates which sonnet passages refer to which part of the music.