A method is provided for parsing a sentence to form representations of syntactic structures in the sentence. The method includes receiving a plurality of frames at a plurality time points and calculating a plurality of local motion vectors and a global motion vector in each of the frames. The hood stay apparatus can also facilitate an openingclosing operation of the engine hood.