AFAIK no open source library exists. Open implementations of gesture typing do exist (FlorisBoard had it some time ago, though it's going through a significant rewrite still) but the lib loading on OpenBoard is specially intended to use Google's proprietary libraries. (Which is why it's an external download and not built-in)
Or that's what the state of things were the last time I checked.
Thanx its working, not just for English but other languages also. Does anyone know how to automatically save words that don't show up when writing text or that contain my proofreading? Thank you for your help.