List of usage examples for edu.stanford.nlp.util Generics newHashMap
public static <K, V> Map<K, V> newHashMap(Map<? extends K, ? extends V> m)
From source file:knu.univ.lingvo.coref.Document.java
License:Open Source License
/** Document initialize */ protected void initialize() { if (goldOrderedMentionsBySentence == null) assignOriginalID();// w w w.j av a 2s . c om setParagraphAnnotation(); initializeCorefCluster(); this.allPositions = Generics.newHashMap(this.positions); }