public function calculateDensities()
		{
			if ($this->numWordsInWrappedLines == 0)
			{
				$this->numWordsInWrappedLines = $this->numWords;
				$this->numWrappedLines = 1;
			}
			$this->textDensity = $this->numWordsInWrappedLines / $this->numWrappedLines;
			$this->linkDensity = $this->numWords == 0 ? 0 : $this->numWordsInAnchorText / $this->numWords;
			
			// Set full text words only if this block is past the threshold
			if($this->textDensity >= self::TEXT_DENSITY_THRESHOLD)
			{
				$this->numFullTextWords = $this->numWords;
			}
		}