WordSelectionFunction
is an option for WordCloud and other functions that specifies which words to use.
Details
- The following settings can be given for WordSelectionFunction:
-
Automatic an automatic selection True& no filtering f an arbitrary selection function f - The function f takes a word as the first argument and that word's weight as its second argument:
-
#Word or #1 the word #Weight or #2 the word's weight
Examples
open allclose allApplications (2)
Make a word cloud with the Wolfram Language symbols ranked by their documentation usage:
Use WordSelectionFunction to pick only symbols with the NumericFunction attribute:
Text
Wolfram Research (2017), WordSelectionFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/WordSelectionFunction.html.
CMS
Wolfram Language. 2017. "WordSelectionFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WordSelectionFunction.html.
APA
Wolfram Language. (2017). WordSelectionFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WordSelectionFunction.html