A phrase-based and hiero-phrase based machine translation pipeline