Text this: Generalized associated Legendre functions and their applications