The LanguaL International Food Thesaurus provides a hierarchy of language-independent terms used for classifying tens of thousands of foods around the world. Visualize the hierarchy of terms classified as cooking methods, using their language-independent facet term codes as labels:
In[1]:=
cookingMethodGraph=
G.COOKINGMETHOD
LANGUALTERM
["NarrowerHierarchy"];
In[2]:=
labels=Map[#["Name"]&,cookingMethodGraph,{2}];
In[3]:=
LayeredGraphPlotlabels,
Out[3]=
Build a function that finds the number of foods in each country that are classified with a given set of LanguaL terms: