In old England the rhyme referred to a woman, a spaniel and a walnut tree which, I guess, is also related to the pecan. There is a short story by Dornford Yates that uses this verse as a recurring refrain in a dream about a murdered wife.