1. An information processing apparatus, which creates a tree structure used by a recognition apparatus which recognizes specific information using the tree structure, comprising: memory means which stores data including the information to be recognized and a label identifying the information; a plurality of recognition devices which recognize the information and output a high score value when the data including the information is in a class corresponding to a recognition device into which the data is input; and grouping means which performs grouping of the plurality of recognition devices using a score distribution obtained when each of the data is input into each of the plurality of recognition devices, the grouping means merging classes corresponding to all of the recognition devices placed in a group such that all of the data for each of the classes corresponding to each of the recognition devices in a group is placed into a single class to create grouped devices, the grouping means calculating a distance of the score distribution for each of the plurality of recognition devices and grouping all of the plurality of recognition devices having scores within a threshold.