Questions tagged [dictionary]

Questions about dictionary lookup techniques and associated functions to correctly spell, use, categorize and translate words from many different languages as well as study their etymologies.

Filter by
Sorted by
Tagged with
3 votes
1 answer
120 views

Living or Non-Living?

...
Syed's user avatar
  • 41.7k
-2 votes
1 answer
82 views

How to get a list of all words from an unabridged dictionary?

I wanted to do something that Donald Knuth did. He entered a contest to make as many words as possible out of the phrase/string "Ziegler's Giant Bar". The judges master list had 2 500 words. ...
Peter Burbery's user avatar
0 votes
0 answers
40 views

How to download and keep a dictionary? [duplicate]

I use a Dictionary and download it by the command (example Swedish): dict1 = DictionaryLookup[{"Swedish", Repeated[{alfabetet}, {1, Infinity}]}] It downloads and all is well. But when I ...
JSP's user avatar
  • 367
6 votes
2 answers
205 views

How to identify and select the first name from a string containing a first name and a last name?

Is it possible to identify and select the first name in a string that is made up of a first name and a last name, e.g.: ...
Wolfgang123's user avatar
1 vote
1 answer
68 views

Search words based of word pronunciation?

Basically the opposite of the following Find a word's linguistic pronunciation I had thought of forming my own dictionary but it doesn't seem ideal.
William's user avatar
  • 7,565
2 votes
1 answer
551 views

Extreme Wordle solver

In each play of Extreme Wordle you are to guess a secret five-letter English word. After you make a guess with your five-letter word you are told: which of your letters (if any) appear somewhere in ...
David G. Stork's user avatar
8 votes
2 answers
1k views

CRAZY EIGHTS puzzle

The Sunday New York Times magazine has a puzzle, CRAZY EIGHTS such as this: The goal is to fill in the $4 \times 4$ unfilled squares with letters to make valid 8-letter words reading both ...
David G. Stork's user avatar
10 votes
1 answer
489 views

JUST SAYING puzzle

The Sunday New York Times magazine has a new puzzle (June 26, 2022), JUST SAYING by Will Shortz, with the following rules: Change one letter in each word to spell a new word. Then arrange the new ...
David G. Stork's user avatar
1 vote
0 answers
45 views

Finding a root word

w = "successfully"; {DictionaryWordQ[#], WordDefinition[#], PartOfSpeech[#], WordData[#]} &@w ...
Syed's user avatar
  • 41.7k
1 vote
1 answer
140 views

Solving Wordle like puzzles using dictionary lookup

I will share a simple non-automated code fragment on how to solve Wordle like puzzles using Mathematica by playing against an automated web opponent. Any other insights to improve the algorithm will ...
Syed's user avatar
  • 41.7k
0 votes
0 answers
136 views

Solving wordle efficiently

I use the following code to solve Wordle(https://www.powerlanguage.co.uk/wordle/). The variable f contains the pattern for the non-existing letters. Select function filters the words which must ...
Talespin_Kit's user avatar
11 votes
3 answers
1k views

"Sit for a spell" graph search

The December 12, 2021 New York Times Magazine puzzle section introduced a new type of word search puzzle, called Sit for a spell. It consists of an undirected graph of 13 vertices labelled by English ...
David G. Stork's user avatar
3 votes
0 answers
77 views

Inverse Dictionary Lookup

Example: Using WordDefinition: WordDefinition["surreptitious"] ...
Syed's user avatar
  • 41.7k
3 votes
1 answer
118 views

Adding spelling dictionary to Mathematica

I was hoping this could be easy, but it's not. I need to add the Czech spelling dictionary to Mathematica. I copied the two files: cs_CZ.aff and cs_CZ.dic in to the /Applications/Mathematica.app/...
Jiri's user avatar
  • 215
2 votes
2 answers
105 views

Finding Mnemonics for expressions with lots of indices

One of the equations I work with in my research are the pentagon equations: ...
Gert's user avatar
  • 1,470
0 votes
0 answers
45 views

Error in function `WordList` in version 12.1

I want to list the number of different kinds of words in the English dictionary (Version 12.1 for Win10 (64-bit)): ...
A little mouse on the pampas's user avatar
7 votes
1 answer
218 views

How to remove words added by mistake from spelling check?

In text mode, I mistakenly add a word exx to the dictionary, which makes it impossible to check the spelling of this word. What can I do to delete only the ...
A little mouse on the pampas's user avatar
1 vote
2 answers
137 views

How to access an English-Chinese dictionary database file correctly?

Now I have an English-Chinese dictionary database file (This database source file comes from this website and this file can be downloaded by clicking "点此下载". After downloading, you can ...
A little mouse on the pampas's user avatar
4 votes
1 answer
299 views

Find words in a messed up table [duplicate]

This table with a caption that said "First three words you see will come to you in 2021" inspired me to do some digging: Imagine that we have a table with randomly filled letters. How can ...
polfosol's user avatar
  • 952
1 vote
0 answers
45 views

SpellingCorrectionList for custom language (Italian)

SpellingCorrectionList["ciao",Language -> Italian] Says there are no Spelling dictionaries for Italian. On the other hand, ...
Fortsaint's user avatar
  • 2,040
10 votes
0 answers
373 views

Solving CROSS TIES automatically

A clever puzzle in the Sunday New York Times Magazine is CROSS TIES (by Will Shortz). You are given a $5 \times 5$ grid with some squares filled with letters, others grayed out, and yet others white. ...
David G. Stork's user avatar
-1 votes
1 answer
55 views

Histogram of the words in the Spanish Dictionary [closed]

I am trying to do the exact same histogram as below, but in Spanish. Histogram[{StringLength /@ DictionaryLookup[], dataPnJ}, {1}, "Probability"]
Carlos Mario Cabrera's user avatar
7 votes
2 answers
325 views

Is there a tool for editing the spelling dictionary?

Is there a tool for editing the spelling dictionary? Now that Mathematica 12 does spellchecking on the fly, I've been using it. And of course, as I was wondering how I might delete a word ...
Steven Thomas Hatton's user avatar
7 votes
0 answers
183 views

How to import unsupported language dictionaries?

Mathematica seems to only know about these 27 languages: However, I need access to dictionaries for other languages, namely Romanian and Japanese. Now, WordList ...
user5601's user avatar
  • 3,621
8 votes
0 answers
71 views

Different results from DictionaryLookup, DictionaryWordQ and WordData

It seems that the underlying dictionaries used by the three functions in the title are different. My ultimate question is "Why?" As an example, I stumbled upon this set of results: ...
GregH's user avatar
  • 1,765
15 votes
3 answers
3k views

Checking if a word exists

Probably the simplest way to check a word if it exists is to use DictionaryWordQ[] DictionaryWordQ["color"] True But it ...
Sumit's user avatar
  • 15.9k
4 votes
2 answers
169 views

Creating a large surjective dictionary without repeated elements?

I would like to have a surjective dictionary that saves the following associations ...
Kagaratsch's user avatar
  • 11.9k
1 vote
0 answers
39 views

Is there a Mathematica equivalent of other languages dictionary objects? [duplicate]

What is the propper way to create the equivalent of a dictionary object in Mathematica? For instance, say roughly that the desired dictionary has the form ...
Dimitris's user avatar
  • 4,784
6 votes
3 answers
406 views

dictionary lookups of words composed of specified characters

I am trying to find all English words composed of specified characters. For example, all words composed of one or more of the following: ...
Michael Stern's user avatar
2 votes
0 answers
131 views

Different result about "words ending with w" in Wolframalpha and Mathematica 11.0 [closed]

Why there are different result There are $691$ words according the wolfram alpha. but there are only $307$ words according the Wolfram Mathematica ...
vito's user avatar
  • 8,868
2 votes
2 answers
174 views

Whitelist words in the spelling dictionary [duplicate]

Is there a way to whitelist words in the spelling dictionary so that they will not be flagged as mispellings? Can this be done for individual notebooks, all notebooks or both?
Tyler Durden's user avatar
  • 4,048
0 votes
1 answer
130 views

FindInstance of Matrix elements with dictionary

I'm a complete beginner at Mathematica, I'm trying to find a matrix A which when squared gives a specific solution. The elements of matrix A are k-th roots of unity (which I will specify), or if there ...
gypsyzz's user avatar
3 votes
1 answer
1k views

How to map or import list of lists as associative array (dictionary)

Trying to play around with Wolfram Mathematica to manipulate data as dictionaries - associative arrays. http://reference.wolfram.com/language/ref/Association.html I am looking at examples, but ...
user305883's user avatar
9 votes
1 answer
4k views

How to split text without spaces into list of words? [duplicate]

What is the best approach to a problem like this in Mathematica? I can only manage this: ...
martin's user avatar
  • 8,152
6 votes
1 answer
384 views

Non-English spell checking dictionaries in Mathematica: Where to get them?

I simply want to be able to spell check my (german) notebooks. There was a question similar to this but with no answer: Non-english spell check dictionaries for Mathematica? You can find this ...
Darwin1871's user avatar
3 votes
1 answer
174 views

Finding all Spanish words with given vowel patterns

I'm trying to implement a function using DictionaryLookup that does the following: Uses a Spanish dictionary Lists and counts of all words where the 5 vowels ...
susy diaz's user avatar
19 votes
3 answers
673 views

Non-english spell check dictionaries for Mathematica?

I've spent a fair amount of time bending Mathematica for taking notes and I've been very happy with it, the only missing piece it seems is a nice spell check dictionary for Polish (my mother language)....
Ranza's user avatar
  • 1,205
5 votes
2 answers
731 views

Length of a word

Probably my problem is very simple but I couldn't have found a solution to it anywhere else. How can I find a word of a certain length using a DictionaryLookup ...
Arthur Altman's user avatar
3 votes
0 answers
214 views

Is it Possible to create my own Dictionary?

When I count the number of words in the English dictionary wordsInLanguage[lang_] := {lang, Length[DictionaryLookup[{lang, All}]]} wordsInLanguage["English"] it ...
kornaros's user avatar
  • 1,047
10 votes
4 answers
1k views

Finding Anagrams of given length from DictionaryLookup

What I'm trying to find are the 4 letter words in the Mathematica dictionary that have the most anagrams and the amount of anagrams these have each. But I can't seem to find all the 4 letter words in ...
jas's user avatar
  • 143
4 votes
2 answers
616 views

What's wrong with my palindrome finding function?

I'm trying to find the palindromes in the dictionary, but my output isn't giving me all of them. I have this so far ...
jas's user avatar
  • 143
7 votes
2 answers
212 views

DictionaryLookup very slow

I'm trying to plot, given a list of words, how many words belongs to each language. I'm using the following code: ...
José D.'s user avatar
  • 1,125