Text this: Аlgorithm for Spectrum Sensing and Signal Selection by External Parameters