Description Usage Arguments Value Author(s)
This function takes as its parameters, a document in unlisted sentence or word tokenized format and the chunk size in terms of numbers of tokens, and returns the document in a list of chunks of equal size.
1 | chunkDocument(document, chunkSize)
|
document |
- the document to be sampled |
chunkSize |
- the number of sentences per chunk |
chunks - list of chunks of equal number of sentences
John James
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.