A chansonnier (Catalan: cançoner, Occitan: cançonièr, Galician and Portuguese: cancioneiro, Italian: canzoniere or canzoniéro, Spanish: cancionero) is a manuscript or printed book which contains a collection of chansons, or polyphonic and monophonic settings of songs, hence literally "song-books," although some manuscripts are so called even though they preserve the text but not the music (for example, the Cancioneiro da Vaticana and Cancioneiro da Biblioteca Nacional, which contain the bulk of Galician-Portuguese lyric). The most important chansonniers contain lyrics, poems and songs of the troubadours and trouvères of the Middle Ages. Prior to 1420, many song-books contained both sacred and secular music, one exception being those containing the work of Guillaume de Machaut. Around 1420, sacred and secular music was segregated into separate sources, with large choirbooks containing sacred music, and smaller chansonniers for more private use by the privileged. Chansonniers were compiled primarily in France, but also in Italy, Germany and in the Iberian peninsula.