1。An instance contains four generic fields of predefined name: "data", "target", "name", and "source". "Data" holds the data represented `by the instance,"target" is often a label associated with the instance, "name" is a short identifying name for the instance (such as a filename), and "source" is human-readable source information, (such as the original text).
2。How to create an Instance?Two ways:(1)Instance constructor method,比如:new Instance(data, target, name, source) (2) Itarator:比如Iterator<Instance> FileIterator(File[], ...) CsvIterator(FileReader, Pattern...) ArrayIterator(Object[])
3。How do we modify the value of Instance fields?through setter?
4.Name some classes that appear in the “data” field.String,TokenSequence(ArrayList<Token>),FeatureSequence(int[]),FeatureVector(int -> double map).