Example usage for edu.stanford.nlp.util Generics newHashMap

List of usage examples for edu.stanford.nlp.util Generics newHashMap

Introduction

In this page you can find the example usage for edu.stanford.nlp.util Generics newHashMap.

Prototype

public static <K, V> Map<K, V> newHashMap(Map<? extends K, ? extends V> m) 

Source Link

Usage

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);
}