Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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?

share|improve this question
1  
How is this Mathematica-related? (the -1 is not mine, FWIW) –  Mr.Wizard Oct 16 '12 at 13:35
    
Have a look at DictionaryLookup. –  b.gatessucks Oct 16 '12 at 13:42
2  
@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. –  J. M. Oct 16 '12 at 13:49
2  
@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? –  Mr.Wizard Oct 16 '12 at 13:55
2  
@NoEscape I'd edit the question to highlight that you're using MMA for word-processing, and need a custom dictionary. –  Eli Lansey Oct 16 '12 at 14:22
show 3 more comments

2 Answers

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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