This function takes a path to a folder as an argument. It then excludes all documents in the folder which have less than 300 tokens and process the rest. The output is a vector of strings containing each acceptable, cropped document
1 | getFromFolderString(pathToFolder, minMaxWordCount = 300)
|
pathToFolder, |
the folder containing your corpus |
minMaxWordCount, |
no documents with less tokens than indicated will be accepted and all documents longer than the spefified count will be cropped Defaults to 300 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.