Match each word to its shape.