Text this: Modeling frequency-dependent selection with an application to cichlid fish