This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

DictionaryLookup

DictionaryLookup[patt]
finds all words in an English dictionary that match the string pattern patt.
DictionaryLookup
gives only the first n words found.
DictionaryLookup
finds words in the language specified by lang.
  • No word stemming is done by default, so words like "jump", "jumps", and "jumping" appear separately.
  • By default, words appear as they would within a sentence. Setting the option IgnoreCase->True retrieves words whose letters appear in different cases.
Look up all English words beginning with "abb":
Look up all Spanish words beginning with "c", ending with "n", and with an "ñ" in between:
Look up all English words beginning with "abb":
In[1]:=
Click for copyable input
Out[1]=
 
Look up all Spanish words beginning with "c", ending with "n", and with an "ñ" in between:
In[1]:=
Click for copyable input
Out[1]=
Variants such as "jumps" and "jumping" appear separately:
DictionaryLookup supports in-string patterns:
The first 10 words beginning with "z":
Give a list of available dictionary languages:
Look up words beginning with "molec" in all available languages:
Look up all Dutch and Spanish words beginning with "molecula":
Find all languages containing a word:
Specify a lookup to be case insensitive:
Find the number of words in the dictionary starting with each letter:
Find all palindromes in the dictionary:
Find all palindromes that are both English and French words:
Find how many words contain each of the possible permutations of "a", "b", and "c":
Find all 4-letter words formed from "a" through "e":
Create a nearest function from all words in the dictionary:
Look up words closest to a given word:
Go further:
Find what words might be confused with genomic sequences:
Pick 10 random words beginning with "a" from the dictionary:
A random collection of words from different languages:
Plot the word length histograms for each language:
New in 6 | Last modified in 7