A text classifier based on linguistic processing