Add rootedness detection in WordNet to ensure hypernyms is a rooted DAG