We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40ef99e commit b084233Copy full SHA for b084233
src/edu/stanford/nlp/international/spanish/pipeline/AnCoraPOSStats.java
@@ -54,8 +54,7 @@ public void process() throws IOException {
54
// Tree reading will implicitly perform tree normalization for us
55
while ((t = tr.readTree()) != null) {
56
// Update tagger with this tree
57
- List<CoreLabel> yield = t.taggedLabeledYield();
58
- for (CoreLabel leafLabel : yield) {
+ for (CoreLabel leafLabel : t.taggedLabeledYield()) {
59
if (leafLabel.tag().equals(SpanishTreeNormalizer.MW_TAG))
60
continue;
61
0 commit comments