Text this: Real-time discrimination of earthquake signals by integrating artificial intelligence technology into IoT devices