Exported translator code to pangraph project.