Solved by pascal_notsawo in post #2 
              
              
                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.