Skip to content

Commit bc90bb8

Browse files
committed
Add comment to document the odd constructor usage.
1 parent 0cbceba commit bc90bb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gate/plugin/learningframework/data/CorpusRepresentationMalletTarget.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ static Instance extractIndependentFeaturesHelper(
165165
Pipe pipe) {
166166

167167
AugmentableFeatureVector afv = new AugmentableFeatureVector(pipe.getDataAlphabet());
168+
// Constructor parms: data, target, name, source
168169
Instance inst = new Instance(afv, null, null, null);
169170
for(FeatureSpecAttribute attr : featureInfo.getAttributes()) {
170171
FeatureExtraction.extractFeature(inst, attr, inputAS, instanceAnnotation);

0 commit comments

Comments
 (0)