Text categorization for intellectual property