I want to use Counter function in my code, but im getting unhashable type error.
lexicalClass = file.readlines() for lex in lexicalClass: newList = re.fin