keeping learning.py approximately here until statistical translator is in