Text this: Time-series representation framework based on multi-instance similarity measures