Thanks for your quick reply.
I think that the Language Model will best suit my needs. The reason I’m concerned about it writing to disk is that I need to be able to load the models quickly (read: almost instantly) and since the app might need to generate a new model 40 times during one session, we’re talking about hundreds of files written to disk.
Is there a way to overwrite the current language model file each time? When I try to do this, I get errors that say either ‘failed to delete’ or ‘failed to access’ one or all of the model files.