start of debugging of sentence prediction

some changes to allow debugging of model