Text this: Structural geology algorithms