decision_tree_hierarchy produces a decision tree in the form of a tabbed text hierarchy from a flat text database.