Automatic generating Generalization Tree by using wordnet. Refer to this paper----> 《Automatic generation of concept hierarchies using WordNet》
First you should install WordNet and some jar files that you need.
Like this: <physical_entity> <solid_food> <garden_truck> <citrous_fruit> <orange#n#1/> </citrous_fruit> </garden_truck> </solid_food> </physical_entity> <abstract_entity> <visual_property> <spectral_colour> <orange#n#2/> </spectral_colour> </visual_property> </abstract_entity>