Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a haiku
ResourceFunction["RandomEnglishHaiku"][] generates a random English-language haiku. | |
ResourceFunction["RandomEnglishHaiku"][words] generates the haiku using the provided word list. |
Generate a haiku:
| In[1]:= |
| Out[1]= | ![]() |
Create a haiku using words from Hamlet:
| In[2]:= |
| Out[2]= | ![]() |
Generate many haikus:
| In[3]:= |
| Out[3]= | ![]() |
Some word lists can not create haikus:
| In[4]:= |
| Out[4]= |
Because words are not repeated within a line, small lists also will not produce results:
| In[5]:= |
| Out[5]= |
Include enough words to fill each line:
| In[6]:= |
| Out[6]= | ![]() |
Highlight syllables in a haiku:
| In[7]:= | ![]() |
| Out[7]= |
Create a haiku for a bird:
| In[8]:= | ![]() |
| Out[8]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License