This repository contains codes written in Python 2 for pre-processing the input data for a project in Max Planck Institute for Social Law and Social Policy (MPISOC). The data contains the questionnaire with responses. Later the data will be fed to the Statistical Machine Translation System Moses. The data was provided by Max Planck Institute for Social Law and Social Policy and SHARE project. Due to the confidentiality and data protection law, the dataset is not shared here.