I'm using pspell and I have a large text document of one word per line that I would like to add in addition to the US dictionary already being loaded. I don't need to be writing to this document so just loading it for the session would be fine, I guess.
It's really large so pspell_add_to_session() that adds one word at a time doesn't really make sense. I'm also really not sure what the format for .pws and .repl files are supposed to be.