Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate random pretentious job titles
ResourceFunction["RandomPretentiousJobTitle"][] generates a random pretentious job title string. | |
ResourceFunction["RandomPretentiousJobTitle"][n] generates n random pretentious job title strings. | |
ResourceFunction["RandomPretentiousJobTitle"][lang] generates a random pretentious job title string in the language lang. | |
ResourceFunction["RandomPretentiousJobTitle"][lang,n] generates n random pretentious job title strings in the language lang. | |
ResourceFunction["RandomPretentiousJobTitle"][All] gives an association of associations of languages and job title parts. |
Generate a random pretentious job title:
In[1]:= |
|
Out[2]= |
|
Generate four random pretentious job titles:
In[3]:= |
|
Out[3]= |
|
Generate a list of random pretentious job titles with different numbers of words:
In[4]:= |
|
Out[5]= |
|
Generate random pretentious job titles in Bulgarian:
In[6]:= |
|
Out[7]= |
|
All job title parts per language can be obtained with the argument All:
In[8]:= |
|
Out[8]= |
|
The option "NumberOfWords" can be used to control the number of words in the generated job title:
In[9]:= |
|
Out[10]= |
|
If the option value is not one of the expected four values, then 3 is used:
In[11]:= |
|
Out[12]= |
|
RandomPretentiousJobTitle can be used to demonstrate certain statistical or data transformation functions. Here is an example with the resource function CrossTabulate:
In[13]:= |
|
Out[14]= |
|
Similar phrase strings can be produced using the built-in functions RandomWord and StringRiffle:
In[15]:= |
|
Out[16]= |
|
If the number of words needs to follow a particular distribution, that can be achieved using the built-in distribution functions (and Table or Map):
In[17]:= |
|
Out[11]= |
|
Here is the tally of the number of words in those generated pretentious job titles:
In[18]:= |
|
Out[18]= |
|
Produce a table of pretentious job titles along with statements to attribute to the respective job holders:
In[19]:= |
|
Out[20]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License