edu.stanford.nlp.ie.pnp
Class DataGenerator.Example

java.lang.Object
  |
  +--edu.stanford.nlp.ie.pnp.DataGenerator.Example
Enclosing class:
DataGenerator

public static class DataGenerator.Example
extends Object

Stores a category number and an example text.


Field Summary
 int category
          category (label) for this example.
 String text
          text for this example.
 
Constructor Summary
DataGenerator.Example(int category, String text)
          Constructs a new Example with the given category and text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

category

public int category
category (label) for this example.


text

public String text
text for this example.

Constructor Detail

DataGenerator.Example

public DataGenerator.Example(int category,
                             String text)
Constructs a new Example with the given category and text.



Stanford NLP Group