Text this: Classification for a general index language