Text this: Formal concept analysis applied to pattern matching and automata