EssayTools
WordUse
find occurrences of individual words in one or more essays
Calling Sequence
Parameters
Description
Examples
Compatibility
WordUse( essays, options )
essays
-
set, list, or array of strings
showcount = truefalse
(optional) truefalse
mincount = posint
(optional) positive integer
maxcount = posint
The WordUse command breaks the given essays into unique instances of the words contained therein. All words are reduced to their lowercase equivalent.
When no *count option is specified the order of entries in the returned list is unspecified.
If the option showcount = true is specified then the words are returned in equation form indicating the lowercase word followed by the number of occurrences of that word. The returned list is sorted in order of most occurrences first.
If the option mincount = N is specified then only the words that occur at least N times are returned. The returned list is sorted in order of most occurrences first.
If the option maxcount = N is specified then only the words that occur no more than N times are returned. The returned list is sorted in order of most occurrences first.
This function is part of the EssayTools package, so it can be used in the short form WordUse(..) only after executing the command with(EssayTools). However, it can always be accessed through the long form of the command by using EssayTools[WordUse](..).
Example 1
Find the unique occurrences of words in a list of essays
Find all words used at least 2 times
Find all words used at least 2 times and show how many times each was used
Example 2
The EssayTools[WordUse] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
See Also
EssayTools[CountUseOfAllWords]
EssayTools[CountUseOfEachWord]
StringTools
StringTools[Words]
Download Help Document