Not sure about the details with respect to your requirements
Does the following link provide any quidance?
https

/dottech.org/160790/how-to-add-words-to-android-user-dictionary-guide/
If not, then please add some details and explanation (e.g., "grade") about your requirement(s).