22. The computer-readable medium of claim 21 , wherein the code when executed further causes the apparatus to recategorize the raw data by: in a first time interval, categorizing the raw data of a first portion of the gesture to be a first gesture element; and in a second time interval after the first time interval, categorizing the raw data of the first portion of the gesture as a second gesture element based on the contextual dependency of the gesture elements.
21. A computer-readable medium comprising code for causing an apparatus to recognize gesture, the code when executed causes the apparatus to: generate raw data of a gesture from one or more gesture capturing sensors; categorize the raw data into a plurality of gesture elements; determine a contextual dependency between the plurality of gesture elements, wherein the contextual dependency comprises probabilities of the plurality of gesture elements appearing next to each other in a temporal order or sequence; recategorize the raw data based on the contextual dependency between the plurality of gesture elements; and recognize the gesture based on the determined gesture elements.