implemented external url parsing as ngram