I was going through this plagiarism detector and trying to write a program in Haskell which will read a file and replace some of its words with synonyms. Is there any dictionary available for this purpose in Haskell?
Also, if you have any input regarding algorithm or any other input relevant for this problem, like how to avoid changing the context of a statement by replacing a word by its synonyms, then please post it.