Research on Machine Learning Models for Document Management