Part A:(adsbygoogle = window.adsbygoogle || []).push({});

Get the list of pairs of the form {language,number of words in dictionary}. Call this list Alength.

What I did:

lang = DictionaryLookup[All] to get all the languages. Then,

Alength = {Length[DictionaryLookup[{"Finnish", All}]], Length[DictionaryLookup[{"Arabic", All}]]}.........}

What is a shorter way of doing this?

-------------

Part B:

Get a list of the form {language, length longest word in the dictionary}. Call this list longestword.

I did:

longestword = Max[DictionaryLookup[All]]

But that's not coming out correctly.

--------------

Part C:

Look at all the words contained in all the dictionaries. What are the ones of maximum length?

I did:

Max[StringLength[lang]]

It comes out as 19, but I think there's something wrong here as well.

--------------

Part D:

What are all the words of length 20 in the Mathematica English dictionary.

This one I have no idea.

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Help with Mathematica?

Tags:

**Physics Forums | Science Articles, Homework Help, Discussion**