Replace in a text each noun with the noun in a dictionary that is 7 places after the original noun.
Mandatory input arguments:
url: link to a file to be processed (e.g., "http://www.gutenberg.org/cache/epub/97/pg97.txt"),
h2t: link to a file that is pre-processed by Algorithmia's html2text algorithm (i.e., strip of all html tags) and then n+7 processed,
text: plain text to be processed (e.g., "life is a miracle")
Optional input arguments:
dict: dictionary file to use for replacing nouns; the default is based on a list of nouns from http://www.desiquintans.com/nounlist - downloaded on Dec 21s, 2015; I like the idea of a simple list with only the most commonly used nouns but added anyway a few words
offset: number of places after the original noun to use for replacement; default: 7
start: first line to be processed (0 based); default: all lines
end: last line to be processed (0 based); default: all lines
For a local version also have a look at https://github.com/fabianekc/n7.