Text this: Discriminating between optical coherent superposition states with imperfect detection