Skip to contents

This function counts words in a text, for example, a character vector, a TextReuseTextDocument, some other object that inherits from TextDocument, or a all the documents in a TextReuseCorpus.

Usage

wordcount(x)

Arguments

x

The object containing a text.

Value

An integer vector for the word count.