added a dp version for checking overlaps
merged conflicts in local_wordnet.py