get terms from dict. we ingore the words length more than 6.