use the lang argument in 2 arg arity on train-document-categorization

The lang arg wasn't used in [lang in] arity of  `train-document-categorization`, I also added another function to bridge the gap with the full version. 

Cheers and thanks for that library, huge timesaver!