Renames analyze_doc to extract_doc_features.