reranker for both ITG and non-ITG (only support shift-reduce-dp)