Difference between Vocab and vocab

Does anyone know the difference between torchtext.vocab.Vocab and torchtext.vocab.vocab?

All I know is that I can’t pass the min_freq parameter to the *.Vocab.

torchtext.vocab.Vocab is a class while torchtext.vocab.vocab is a method that returns an object of type torchtext.vocab.Vocab.

A bit like tensor and Tensor.