I am looking for a command line tool that can spellcheck a PDF file, that can run on Linux. If possible, I would like the tool to be able to accept a custom dictionary.
I know this question already has answers suggesting graphical spellchecker tools, but I want one that can be used from the command line, so that I can automate the process.