Python, NLP, Numpy, Scikit Learn.
along these considerations: The encoder receives the corpus vocabulary as a list, and it receives a dictionary object of the form {document_name: [tokens]} (otherwise this implementation would be too tightly coupled to the corpus object) During initialization, a word_frequency dictionary is created