for (int pos = this.begin, oobPos = oobStart; pos < this.end; pos += 1) { SEARCH_T ann = iter.hasNext() ? iter.next() : null; if (ann != null && bounds.contains(ann)) { for (Feature feature : extractor.extract(jCas, ann)) { features.add(new ContextFeature(this.getName(), pos, feature));
for ( int pos = this.begin, oobPos = oobStart; pos < this.end; pos += 1 ) { SEARCH_T ann = iter.hasNext() ? iter.next() : null; if ( ann != null && bounds.contains( ann ) ) { for ( Feature feature : extractor.extract( jCas, ann ) ) { features.add( new WindowedContextFeature( this.getName(), pos, feature ) );