refactor word vectors in to one base impl