Text this: Segmental phonology in Optimality Theory