The Role of Vocabularies in Learning Sparse Representations for Ranking