Creating training data for a Maxent classfier in Java
<p>I am trying to create the java implementation for maxent classifier. I need to classify the sentences into <code>n</code> different classes. </p>

<p>I had a look at <a href="https://github.com/stanfordnlp/CoreNLP/blob/master/src/edu/stanford/nlp/classify/ColumnDataClassifier.java" rel="nofollow">ColumnDataClassifier in stanford maxent classifier</a>. But I am not able to understand how to create training data. I need training data in the form where training data includes POS Tags for words for sentence, so that the features used for classifier will be like <strong>previous word, next word etc.</strong></p>

<p>I am looking for training data which has sentences with POS TAGGING and sentence class mentioned. example :</p>

<p>My/(POS) name/(POS) is/(POS) XYZ/(POS) CLASS </p>

<p>Any help will be appreciated.</p>