Skip to content

Commit b084233

Browse files
committed
Proposed removal of new keyword yield from one file... see if it clears up that compile error
1 parent 40ef99e commit b084233

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/edu/stanford/nlp/international/spanish/pipeline/AnCoraPOSStats.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ public void process() throws IOException {
5454
// Tree reading will implicitly perform tree normalization for us
5555
while ((t = tr.readTree()) != null) {
5656
// Update tagger with this tree
57-
List<CoreLabel> yield = t.taggedLabeledYield();
58-
for (CoreLabel leafLabel : yield) {
57+
for (CoreLabel leafLabel : t.taggedLabeledYield()) {
5958
if (leafLabel.tag().equals(SpanishTreeNormalizer.MW_TAG))
6059
continue;
6160

0 commit comments

Comments
 (0)