Text this: Signal detection and discrimination based on generalized phase principles /