public AdminBoundaryContext()

in geoentitylinker-addon/src/main/java/opennlp/addons/geoentitylinker/AdminBoundaryContext.java [40:64]


  public AdminBoundaryContext(Map<String, Set<Integer>> countryMentions,
      Map<String, Set<Integer>> provMentions,
      Map<String, Set<Integer>> countyMentions,
      Set<String> countryHits,
      Set<String> provHits,
      Set<String> countyHits,
      Map<String, String> countryRefMap,
      Map<String, Map<String, String>> provRefMap,
      Map<String, Map<String, String>> countyRefMap, Map<String, Set<String>> nameCodesMap, Map<String, String> countryRegexMap, Map<String, String> provinceRegexMap,
      Map<String, String> countyRegexMap) {
    this.countryMentions = countryMentions;
    this.provMentions = provMentions;
    this.countyMentions = countyMentions;
    this.countryHits = countryHits;
    this.provHits = provHits;
    this.countyHits = countyHits;
    this.countryRefMap = countryRefMap;
    this.provRefMap = provRefMap;
    this.countyRefMap = countyRefMap;
    this.whereClauses = setWhereClauses();
    this.nameCodesMap = nameCodesMap;
    this.countryRegexMap = countryRegexMap;
    this.provinceRegexMap = provinceRegexMap;
    this.countyRegexMap = countyRegexMap;
  }