An automatic labeling method for subword-phrase recognition in effective text classification