The sentence contains a metaphor. The comparison of the regiment to a machine conveys the idea that it is worn out and inefficient.
personification
methapor
This sentence contains an example of personification, as it assigns human-like qualities to the pine needles by describing them as "gentle."
personification
Simile.
The sentence above contains an example of personification, giving human qualities to the abstract concept of the ghost.
personificatiom
personification
simile
personification
personification
allusion