Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Computable Data > Linguistic Data >

DictionaryLookup

Updated In 7 Graphic
DictionaryLookup[patt]
finds all words in an English dictionary that match the string pattern patt.
DictionaryLookup[patt, n]
gives only the first n words found.
DictionaryLookup[{"lang", patt}]
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.
  • DictionaryLookup[{"lang", All}] retrieves all words in the language dictionary lang.
  • DictionaryLookup[{All, patt}] retrieves all the languages containing words matching patt.
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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team