How to extract phonetic posteriorgrams (PPGs) from mfcc’s and phonemes

how to extract phonetic posteriorgrams (PPGs) from mfcc’s and phonemes.