Text this: Statistical methods for automatic segmentation and classification of cardiovascular signals