Add recognition

Recognition model is added. However, I can not understand the frame
based theory.