Tool to build syntax-based machine translation systems