I want to create an empty corpus in textacy and later on fill it up with data via
corpus.add(doc)
But everytime I try to create an empty corpus I am not able to save it and instead I get this error:
IndexError: list index out of range
I tried both not giving any data when creating the corpus or giving None as data:
corpus = textacy.Corpus(lang=locale)
corpus = textacy.Corpus(lang=locale, data=None)
corpus.save(path) # this line results in the index error
It would be nice if anybody could help me :)