built the methods 'initializeVocab' and 'readWordVectors'