code: def hellinger_distance(self, dist1, dist2):
      assert dist1.shape == dist2.shape
      result = np.sum((np.sqrt(dist1) - np.sqrt(dist2)) ** 2)
      result = np.sqrt(result) * 0.7071067812
      return result
  
file_path: PaddleHub/modules/text/language_model/lda_news/semantic_matching.py
imports: import numpy
  from lda_news.vocab import OOV
label_desc: Use image node_id 7 for calling the SemanticMatching obj's underlying member method code with example usage: obj.hellinger_distance(dist1, dist2) and returns: result