initCjkMap static method

void initCjkMap()

Implementation

static void initCjkMap() {
  if (cjkMap.isEmpty) {
    for (final cjkList in NGramData.cjkList) {
      final representative = cjkList[0];
      for (int i = 0; i < cjkList.length; i++) {
        cjkMap[cjkList[i]] = representative;
      }
    }
  }
}