write nlp package proto