create langtrain.py