Each keyboard that shows predictive text such as SwiftKey and Swype connect to the your data stream. At times the stream could be slow. Other times it is just lag on your phone's internal system. You can try and clear your keyboard cache but then you lose all saved predictive text.