Questions tagged [dictionary]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
39 views

Finding a root word

w = "successfully"; {DictionaryWordQ[#], WordDefinition[#], PartOfSpeech[#], WordData[#]} &@w ...
user avatar
  • 14.5k
1 vote
1 answer
95 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 ...
user avatar
  • 14.5k
0 votes
0 answers
94 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 ...
user avatar
11 votes
3 answers
987 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 ...
user avatar
2 votes
0 answers
57 views

Inverse Dictionary Lookup

Example: Using WordDefinition: WordDefinition["surreptitious"] ...
user avatar
  • 14.5k
3 votes
1 answer
67 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/...
user avatar
  • 215
2 votes
2 answers
92 views

Finding Mnemonics for expressions with lots of indices

One of the equations I work with in my research are the pentagon equations: ...
user avatar
  • 928
0 votes
0 answers
41 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)): ...
user avatar
6 votes
1 answer
167 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 ...
user avatar
1 vote
2 answers
108 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 ...
user avatar
3 votes
1 answer
177 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 ...
user avatar
  • 789
1 vote
0 answers
33 views

SpellingCorrectionList for custom language (Italian)

SpellingCorrectionList["ciao",Language -> Italian] Says there are no Spelling dictionaries for Italian. On the other hand, ...
user avatar
  • 1,960
10 votes
0 answers
360 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. ...
user avatar
-1 votes
1 answer
45 views

Histogram of the words in the Spanish Dictionary

I am trying to do the exact same histogram as below, but in Spanish. Histogram[{StringLength /@ DictionaryLookup[], dataPnJ}, {1}, "Probability"]
user avatar
7 votes
2 answers
284 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 ...
user avatar
7 votes
0 answers
165 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 ...
user avatar
  • 3,720
8 votes
0 answers
59 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: ...
user avatar
  • 1,685
14 votes
3 answers
2k 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 ...
user avatar
  • 15.5k
4 votes
2 answers
160 views

Creating a large surjective dictionary without repeated elements?

I would like to have a surjective dictionary that saves the following associations ...
user avatar
  • 11.5k
1 vote
0 answers
37 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 ...
user avatar
  • 4,714
6 votes
3 answers
298 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: ...
user avatar
2 votes
0 answers
119 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 ...
user avatar
  • 8,648
2 votes
2 answers
162 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?
user avatar
  • 3,896
0 votes
1 answer
107 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 ...
user avatar
3 votes
1 answer
864 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 ...
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: ...
user avatar
  • 7,759
6 votes
1 answer
347 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 ...
user avatar
3 votes
1 answer
163 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 ...
user avatar
19 votes
3 answers
653 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)....
user avatar
  • 1,115
5 votes
2 answers
665 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 ...
user avatar
3 votes
0 answers
205 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 ...
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 ...
user avatar
  • 143
4 votes
2 answers
589 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 ...
user avatar
  • 143
7 votes
2 answers
197 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: ...
user avatar
  • 1,105