Medicine

A patient presents with recurrent episodes of sharp pain over his right cheek that is precipitated on chewing. Between attacks patients is otherwise normal. The most probable diagnosis is -