Text this: Efficient online tree, rule-based and distance-based algorithms