Match the words from the following sentence to the correct part of speech: Mary Shelley thought about the stories all night and had a strange nightmare.