code: func (extr *ContentExtractor) isHighLinkDensity(node *goquery.Selection) bool {
  	links := node.Find("a")
  	if links == nil || links.Size() == 0 {
  		return false
  	}
  	text := node.Text()
  	words := strings.Split(text, " ")
  	nwords := len(words)
  	var sb []string
  	links.Each(func(i int, s *goquery.Selection) {
  		linkText := s.Text()
  		sb = append(sb, linkText)
  	})
  	linkText := strings.Join(sb, "")
  	linkWords := strings.Split(linkText, " ")
  	nlinkWords := len(linkWords)
  	nlinks := links.Size()
  	linkDivisor := float64(nlinkWords) / float64(nwords)
  	score := linkDivisor * float64(nlinks)
  
  	if extr.config.debug {
  		var logText string
  		if len(node.Text()) >= 51 {
  			logText = node.Text()[0:50]
  		} else {
  			logText = node.Text()
  		}
  		log.Printf("Calculated link density score as %1.5f for node %s\n", score, logText)
  	}
  	if score > 1.0 {
  		return true
  	}
  	return false
  }
docs: //checks the density of links within a node, is there not much text and most of it contains bad links?
  //if so it's no good