---
title: "RandomWord"
language: "en"
type: "Symbol"
summary: "RandomWord[] gives a pseudorandom commonly used word. RandomWord[n] gives a list of n pseudorandom words. RandomWord[type] gives a pseudorandom word of the specified type. RandomWord[type, n] gives a list of n pseudorandom words of the specified type."
canonical_url: "https://reference.wolfram.com/language/ref/RandomWord.html"
source: "Wolfram Language Documentation"
related_guides: 
  - 
    title: "Linguistic Data"
    link: "https://reference.wolfram.com/language/guide/LinguisticData.en.md"
  - 
    title: "Random Number Generation"
    link: "https://reference.wolfram.com/language/guide/RandomNumberGeneration.en.md"
related_functions: 
  - 
    title: "WordList"
    link: "https://reference.wolfram.com/language/ref/WordList.en.md"
  - 
    title: "RandomChoice"
    link: "https://reference.wolfram.com/language/ref/RandomChoice.en.md"
  - 
    title: "RandomEntity"
    link: "https://reference.wolfram.com/language/ref/RandomEntity.en.md"
---
# RandomWord

RandomWord[] gives a pseudorandom commonly used word.

RandomWord[n] gives a list of n pseudorandom words.

RandomWord[type] gives a pseudorandom word of the specified type.

RandomWord[type, n] gives a list of n pseudorandom words of the specified type.

## Details and Options

* The following types are supported:

|               |                                                          |
| ------------- | -------------------------------------------------------- |
| "CommonWords" | common words in their base forms (default)               |
| "KnownWords"  | known dictionary words in their base forms               |
| pos           | common words that can be a given part of speech          |
| {"type", pos} | inflected, known, etc. words filtered by part of speech  |
| "Stopwords"   | words like "the" that are often considered insignificant |

* Parts of speech can be given as ``"GrammaticalUnit"`` entities or as strings.

* Core parts of speech are ``"Noun"``, ``"Verb"``, ``"Adjective"``, ``"Adverb"``, ``"Preposition"``, ``"Conjunction"``, ``"Pronoun"``, `` "Determiner"``, and ``"Interjection"``.

* ``RandomWord`` selects from words available in ``WordList``.

* ``RandomWord`` supports the following options:

|                     |            |                                             |
| ------------------- | ---------- | ------------------------------------------- |
| IncludeInflections  | False      | whether to include inflected forms of words |
| Language            | \$Language | what language to use                        |

---

## Examples (8)

### Basic Examples (4)

A random common word:

```wl
In[1]:= RandomWord[]

Out[1]= "immunize"
```

---

A random common noun:

```wl
In[1]:= RandomWord["Noun"]

Out[1]= "pith"
```

---

Four random common adverbs:

```wl
In[1]:= RandomWord["Adverb", 4]

Out[1]= {"indefinitely", "meretriciously", "resentfully", "afterward"}
```

---

Six random adjectives selected from known words:

```wl
In[1]:= RandomWord[{"KnownWords", "Adjective"}, 6]

Out[1]= {"votive", "pink-slipped", "ungodly", "perceptual", "strong-minded", "comate"}
```

### Options (2)

#### Language (1)

Get a list of random Spanish words:

```wl
In[1]:= RandomWord[8, Language -> "Spanish"]

Out[1]= {"califa", "chicada", "contero", "acuosa", "cenzalina", "traumatismo", "camaleopardo", "insurrecto"}
```

Language specifications can be strings or ``"Language"`` entities:

```wl
In[2]:= RandomWord["KnownWords", Language -> Entity["Language", "German"]]

Out[2]= "stichhaltig"
```

#### IncludeInflections (1)

With ``IncludeInflections -> True``, inflected forms can also be included in results:

```wl
In[1]:=
SeedRandom[213485];
RandomWord[8, IncludeInflections -> True]

Out[1]= {"delimit", "angled", "snog", "uncoils", "enumerable", "butch", "restored", "inclined"}
```

With ``IncludeInflections -> False``, only uninflected words are returned:

```wl
In[2]:=
SeedRandom[213485];
RandomWord[8, IncludeInflections -> False]

Out[2]= {"detailing", "medially", "acknowledgment", "expatiation", "lawn", "irk", "cocaine", "lave"}
```

### Properties & Relations (2)

Use ``SeedRandom`` to get repeatable random values:

```wl
In[1]:= {RandomWord["Noun"], RandomWord["Noun"]}

Out[1]= {"godchild", "testis"}

In[2]:=
{
	SeedRandom[1234];RandomWord["Noun"], 
	SeedRandom[1234];RandomWord["Noun"]
	}

Out[2]= {"transcription", "transcription"}
```

---

Use ``BlockRandom`` to block one use of ``RandomWord`` from affecting others:

```wl
In[1]:= {BlockRandom[RandomWord["Verb"]], RandomWord["Verb"]}

Out[1]= {"transfix", "transfix"}
```

## See Also

* [`WordList`](https://reference.wolfram.com/language/ref/WordList.en.md)
* [`RandomChoice`](https://reference.wolfram.com/language/ref/RandomChoice.en.md)
* [`RandomEntity`](https://reference.wolfram.com/language/ref/RandomEntity.en.md)

## Related Guides

* [Linguistic Data](https://reference.wolfram.com/language/guide/LinguisticData.en.md)
* [Random Number Generation](https://reference.wolfram.com/language/guide/RandomNumberGeneration.en.md)

## History

* [Introduced in 2015 (10.3)](https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn103.en.md)