Text this: Solar flare M-class prediction using artificial intelligence techniques