Count words

Description

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

1
wordcount(x)

Arguments

x

The object containing a text.

Value

An integer vector for the word count.