Exploiting Domain Knowledge via Grouped Weight Sharing with Application to Text Categorization