Text classification, structured data extraction, rewrite