Try
Settings>Apps>swipe over to all>Android Keyboard>hit the Clear Cache button>then force stop
After that, open something that uses keyboard and test.
If that doesn't work, you can try the same thing but also hit the clear data button, this will get rid of all everything you have saved on your keyboard, Custom words, ect...... but i would do this second.
Good luck