{'fraction_non_alphanumeric': 0.03826955074875208, 'fraction_numerical': 0.0, 'mean_word_length': 4.96039603960396, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Distance phrase reordering for MOSES - User Manual and Code Guide

We describe the implementation of a novel distance phrase reordering (DPR) model for a public domain statistical machine translation (SMT) system - MOSES (http://www.statmt.org/moses/). The model mainly focuses on the application of machine learning (ML) techniques to a specific problem in machine translation: learning the grammatical rules and content dependent changes, which are simplified as phrase reorderings. This document serves two purposes: a user manual for the functions of the DPR model and a code guide for developers.