Text this: Graph-based representations in pattern recognition