4
$\begingroup$

Is there a dictonary available that contains physics slang like spinor, vacua, gauge etc.??

How would one integrate such a file (or a simple text file containing the words) into the front-end without too much of a hassle?

$\endgroup$
  • 1
    $\begingroup$ How is this Mathematica-related? (the -1 is not mine, FWIW) $\endgroup$ – Mr.Wizard Oct 16 '12 at 13:35
  • $\begingroup$ Have a look at DictionaryLookup. $\endgroup$ – b.gates.you.know.what Oct 16 '12 at 13:42
  • 2
    $\begingroup$ @b.gatessucks, surprisingly, even OP's third example is not known to DictionaryLookup[]... I had thought it wasn't a very specialized word that it had to be there, but it isn't. $\endgroup$ – J. M. will be back soon Oct 16 '12 at 13:49
  • 2
    $\begingroup$ @NoEscape -- no snark from me, but I still don't see how this is Mathematica-specific. There are many word lists on the web, e.g. YAWL or ENABLE2K. Perhaps you would do better to ask how a new dictionary can be integrated into Mathematica? $\endgroup$ – Mr.Wizard Oct 16 '12 at 13:55
  • 2
    $\begingroup$ @NoEscape I'd edit the question to highlight that you're using MMA for word-processing, and need a custom dictionary. $\endgroup$ – Eli Lansey Oct 16 '12 at 14:22
5
$\begingroup$

One way you could do this is to add the words to your init.m file.

SpellingDictionaries->{"CorrectWords"->
 {"gauge", "spinor", "muon", "tauon"}},

macvim

which has the same effect as adding them using the 'Learn' button on the Spelling panel, I suspect.

$\endgroup$
2
$\begingroup$

The closest i can think of is some combination of

In[44]:= WordData["spinor"] // InputForm
WordData["gauge"] // InputForm

Out[45]//InputForm=
{{"gauge", "Noun", "MeasuringInstrument"}, {"gauge", "Noun", "Diameter"}, 
 {"gauge", "Noun", "Thickness"}, {"gauge", "Noun", "Distance"}, 
 {"gauge", "Noun", "Standard"}, {"gauge", "Verb", "Flux"}, 
 {"gauge", "Verb", "Standardize"}, {"gauge", "Verb", "Measure"}, 
 {"gauge", "Verb", "Figure"}, {"gauge", "Verb", "Determine"}, {"gauge", "Verb", "Rub"}}

In[46]:= DictionaryLookup["spinor"]
DictionaryLookup["spin"]

Out[46]= {}

Out[47]= {"spin"}

In[50]:= WolframAlpha["spinor", {{"Input", 1}, "Plaintext"}] // InputForm

Out[50]//InputForm=
"spinor"

If all of these don't return {}, then your word is hopefully confirmed correct spelling.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.