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 c03522b commit 3a0bb1eCopy full SHA for 3a0bb1e
src/edu/stanford/nlp/ling/CoreAnnotations.java
@@ -563,7 +563,7 @@ public Class<String> getType() {
563
public static class CoNLLUTokenSpanAnnotation implements CoreAnnotation<IntPair> {
564
@Override
565
public Class<IntPair> getType() {
566
- return ErasureUtils.uncheckedCast(Pair.class);
+ return IntPair.class;
567
}
568
569
@@ -573,7 +573,7 @@ public Class<IntPair> getType() {
573
public static class CoNLLUSecondaryDepsAnnotation implements CoreAnnotation<HashMap<String,String>> {
574
575
public Class<HashMap<String,String>> getType() {
576
+ return ErasureUtils.uncheckedCast(HashMap.class);
577
578
579
0 commit comments