Thenshebecameimpatient,andastheravenswereflyingaboutthepalace,sheopenedthewindowandsaid,"Iwishyouwerearavenandwouldflyaway,andthenIshouldhavesomerest."Scarcelyhadshespokenthewords,beforethechildwaschangedintoaraven,andflewfromherarmsoutofthewindow.Itflewintoadarkforest,andstayedinitalongtime,andtheparentsheardnothingoftheirchild.

Please segment the words:
Then she became impatient, and as the ravens were flying about the palace, she opened the window and said, "I wish you were a raven and would fly away, and then I should have some rest." Scarcely had she spoken the words, before the child was changed into a raven, and flew from her arms out of the window. It flew into a dark forest, and stayed in it a long time, and the parents heard nothing of their child.