due to some problems with lemmatization I had to import one list in the form of:
list_a = [['a', 'b'], ['c', 'd'], ['a', 'b']]
Now I want to count the frequency of each elements, but the list is unhashable in this form. Therefore I want to convert it into:
list_b = ['a b', 'c d', 'a b']]
I know that this is a very self-made problem and probably a dirty workaround, but in the imported form of list_b the lemmatization only lemmatized single-elements of the list and did not touch any composed elements.
Thanks a lot for your time.