getMarkerType with voc and generics for getVocabulary