I'm programming Java and using a MySQL database. Would it be possible to send a rather large string (+/- 500 words) to the database. Next I want it to remove ALL words that are NOT in the database, with this removing stopwords, misspelled words and other noise. After the shorter string should be returned. So all should preferably happen in the database itself
Is this possible in some way? The solution should be fast since I have +/- 6million strings like that.